@aws-sdk/client-cloudsearch 3.299.0 → 3.300.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.
- package/dist-types/commands/BuildSuggestersCommand.d.ts +3 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -0
- package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +14 -0
- package/dist-types/commands/DefineExpressionCommand.d.ts +7 -0
- package/dist-types/commands/DefineIndexFieldCommand.d.ts +90 -0
- package/dist-types/commands/DefineSuggesterCommand.d.ts +11 -0
- package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteExpressionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIndexFieldCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSuggesterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeExpressionsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeScalingParametersCommand.d.ts +3 -0
- package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSuggestersCommand.d.ts +7 -0
- package/dist-types/commands/IndexDocumentsCommand.d.ts +3 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateScalingParametersCommand.d.ts +8 -0
- package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +4 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface BuildSuggestersCommandOutput extends BuildSuggestersResponse, _
|
|
|
26
26
|
* import { CloudSearchClient, BuildSuggestersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, BuildSuggestersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new BuildSuggestersCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
27
27
|
* import { CloudSearchClient, CreateDomainCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
28
28
|
* // const { CloudSearchClient, CreateDomainCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
29
29
|
* const client = new CloudSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new CreateDomainCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR
|
|
|
26
26
|
* import { CloudSearchClient, DefineAnalysisSchemeCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DefineAnalysisSchemeCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* AnalysisScheme: {
|
|
32
|
+
* AnalysisSchemeName: "STRING_VALUE", // required
|
|
33
|
+
* AnalysisSchemeLanguage: "STRING_VALUE", // required
|
|
34
|
+
* AnalysisOptions: {
|
|
35
|
+
* Synonyms: "STRING_VALUE",
|
|
36
|
+
* Stopwords: "STRING_VALUE",
|
|
37
|
+
* StemmingDictionary: "STRING_VALUE",
|
|
38
|
+
* JapaneseTokenizationDictionary: "STRING_VALUE",
|
|
39
|
+
* AlgorithmicStemming: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
29
43
|
* const command = new DefineAnalysisSchemeCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DefineExpressionCommandOutput extends DefineExpressionResponse,
|
|
|
26
26
|
* import { CloudSearchClient, DefineExpressionCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DefineExpressionCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* Expression: {
|
|
32
|
+
* ExpressionName: "STRING_VALUE", // required
|
|
33
|
+
* ExpressionValue: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DefineExpressionCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,96 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
|
|
|
26
26
|
* import { CloudSearchClient, DefineIndexFieldCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DefineIndexFieldCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* IndexField: {
|
|
32
|
+
* IndexFieldName: "STRING_VALUE", // required
|
|
33
|
+
* IndexFieldType: "STRING_VALUE", // required
|
|
34
|
+
* IntOptions: {
|
|
35
|
+
* DefaultValue: Number("long"),
|
|
36
|
+
* SourceField: "STRING_VALUE",
|
|
37
|
+
* FacetEnabled: true || false,
|
|
38
|
+
* SearchEnabled: true || false,
|
|
39
|
+
* ReturnEnabled: true || false,
|
|
40
|
+
* SortEnabled: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* DoubleOptions: {
|
|
43
|
+
* DefaultValue: Number("double"),
|
|
44
|
+
* SourceField: "STRING_VALUE",
|
|
45
|
+
* FacetEnabled: true || false,
|
|
46
|
+
* SearchEnabled: true || false,
|
|
47
|
+
* ReturnEnabled: true || false,
|
|
48
|
+
* SortEnabled: true || false,
|
|
49
|
+
* },
|
|
50
|
+
* LiteralOptions: {
|
|
51
|
+
* DefaultValue: "STRING_VALUE",
|
|
52
|
+
* SourceField: "STRING_VALUE",
|
|
53
|
+
* FacetEnabled: true || false,
|
|
54
|
+
* SearchEnabled: true || false,
|
|
55
|
+
* ReturnEnabled: true || false,
|
|
56
|
+
* SortEnabled: true || false,
|
|
57
|
+
* },
|
|
58
|
+
* TextOptions: {
|
|
59
|
+
* DefaultValue: "STRING_VALUE",
|
|
60
|
+
* SourceField: "STRING_VALUE",
|
|
61
|
+
* ReturnEnabled: true || false,
|
|
62
|
+
* SortEnabled: true || false,
|
|
63
|
+
* HighlightEnabled: true || false,
|
|
64
|
+
* AnalysisScheme: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* DateOptions: {
|
|
67
|
+
* DefaultValue: "STRING_VALUE",
|
|
68
|
+
* SourceField: "STRING_VALUE",
|
|
69
|
+
* FacetEnabled: true || false,
|
|
70
|
+
* SearchEnabled: true || false,
|
|
71
|
+
* ReturnEnabled: true || false,
|
|
72
|
+
* SortEnabled: true || false,
|
|
73
|
+
* },
|
|
74
|
+
* LatLonOptions: {
|
|
75
|
+
* DefaultValue: "STRING_VALUE",
|
|
76
|
+
* SourceField: "STRING_VALUE",
|
|
77
|
+
* FacetEnabled: true || false,
|
|
78
|
+
* SearchEnabled: true || false,
|
|
79
|
+
* ReturnEnabled: true || false,
|
|
80
|
+
* SortEnabled: true || false,
|
|
81
|
+
* },
|
|
82
|
+
* IntArrayOptions: {
|
|
83
|
+
* DefaultValue: Number("long"),
|
|
84
|
+
* SourceFields: "STRING_VALUE",
|
|
85
|
+
* FacetEnabled: true || false,
|
|
86
|
+
* SearchEnabled: true || false,
|
|
87
|
+
* ReturnEnabled: true || false,
|
|
88
|
+
* },
|
|
89
|
+
* DoubleArrayOptions: {
|
|
90
|
+
* DefaultValue: Number("double"),
|
|
91
|
+
* SourceFields: "STRING_VALUE",
|
|
92
|
+
* FacetEnabled: true || false,
|
|
93
|
+
* SearchEnabled: true || false,
|
|
94
|
+
* ReturnEnabled: true || false,
|
|
95
|
+
* },
|
|
96
|
+
* LiteralArrayOptions: {
|
|
97
|
+
* DefaultValue: "STRING_VALUE",
|
|
98
|
+
* SourceFields: "STRING_VALUE",
|
|
99
|
+
* FacetEnabled: true || false,
|
|
100
|
+
* SearchEnabled: true || false,
|
|
101
|
+
* ReturnEnabled: true || false,
|
|
102
|
+
* },
|
|
103
|
+
* TextArrayOptions: {
|
|
104
|
+
* DefaultValue: "STRING_VALUE",
|
|
105
|
+
* SourceFields: "STRING_VALUE",
|
|
106
|
+
* ReturnEnabled: true || false,
|
|
107
|
+
* HighlightEnabled: true || false,
|
|
108
|
+
* AnalysisScheme: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* DateArrayOptions: {
|
|
111
|
+
* DefaultValue: "STRING_VALUE",
|
|
112
|
+
* SourceFields: "STRING_VALUE",
|
|
113
|
+
* FacetEnabled: true || false,
|
|
114
|
+
* SearchEnabled: true || false,
|
|
115
|
+
* ReturnEnabled: true || false,
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* };
|
|
29
119
|
* const command = new DefineIndexFieldCommand(input);
|
|
30
120
|
* const response = await client.send(command);
|
|
31
121
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _
|
|
|
26
26
|
* import { CloudSearchClient, DefineSuggesterCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DefineSuggesterCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* Suggester: {
|
|
32
|
+
* SuggesterName: "STRING_VALUE", // required
|
|
33
|
+
* DocumentSuggesterOptions: {
|
|
34
|
+
* SourceField: "STRING_VALUE", // required
|
|
35
|
+
* FuzzyMatching: "STRING_VALUE",
|
|
36
|
+
* SortExpression: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
29
40
|
* const command = new DefineSuggesterCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteAnalysisSchemeCommandOutput extends DeleteAnalysisSchemeR
|
|
|
26
26
|
* import { CloudSearchClient, DeleteAnalysisSchemeCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DeleteAnalysisSchemeCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* AnalysisSchemeName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteAnalysisSchemeCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
|
|
|
27
27
|
* import { CloudSearchClient, DeleteDomainCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
28
28
|
* // const { CloudSearchClient, DeleteDomainCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
29
29
|
* const client = new CloudSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteDomainCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteExpressionCommandOutput extends DeleteExpressionResponse,
|
|
|
26
26
|
* import { CloudSearchClient, DeleteExpressionCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DeleteExpressionCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* ExpressionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteExpressionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse,
|
|
|
26
26
|
* import { CloudSearchClient, DeleteIndexFieldCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DeleteIndexFieldCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* IndexFieldName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteIndexFieldCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteSuggesterCommandOutput extends DeleteSuggesterResponse, _
|
|
|
26
26
|
* import { CloudSearchClient, DeleteSuggesterCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DeleteSuggesterCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* SuggesterName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteSuggesterCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeAnalysisSchemesCommandOutput extends DescribeAnalysisSc
|
|
|
26
26
|
* import { CloudSearchClient, DescribeAnalysisSchemesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeAnalysisSchemesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* AnalysisSchemeNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* Deployed: true || false,
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeAnalysisSchemesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeAvailabilityOptionsCommandOutput extends DescribeAvaila
|
|
|
26
26
|
* import { CloudSearchClient, DescribeAvailabilityOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeAvailabilityOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* Deployed: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeAvailabilityOptionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeDomainEndpointOptionsCommandOutput extends DescribeDoma
|
|
|
26
26
|
* import { CloudSearchClient, DescribeDomainEndpointOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeDomainEndpointOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* Deployed: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeDomainEndpointOptionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
|
|
|
28
28
|
* import { CloudSearchClient, DescribeDomainsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
29
|
* // const { CloudSearchClient, DescribeDomainsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
30
|
* const client = new CloudSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainNames: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeDomainsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeExpressionsCommandOutput extends DescribeExpressionsRes
|
|
|
26
26
|
* import { CloudSearchClient, DescribeExpressionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeExpressionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* ExpressionNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* Deployed: true || false,
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeExpressionsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface DescribeIndexFieldsCommandOutput extends DescribeIndexFieldsRes
|
|
|
28
28
|
* import { CloudSearchClient, DescribeIndexFieldsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
29
|
* // const { CloudSearchClient, DescribeIndexFieldsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
30
|
* const client = new CloudSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* FieldNames: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* Deployed: true || false,
|
|
37
|
+
* };
|
|
31
38
|
* const command = new DescribeIndexFieldsCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeScalingParametersCommandOutput extends DescribeScalingP
|
|
|
26
26
|
* import { CloudSearchClient, DescribeScalingParametersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeScalingParametersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeScalingParametersCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeServiceAccessPoliciesCommandOutput extends DescribeServ
|
|
|
27
27
|
* import { CloudSearchClient, DescribeServiceAccessPoliciesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
28
28
|
* // const { CloudSearchClient, DescribeServiceAccessPoliciesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
29
29
|
* const client = new CloudSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* Deployed: true || false,
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeServiceAccessPoliciesCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeSuggestersCommandOutput extends DescribeSuggestersRespo
|
|
|
26
26
|
* import { CloudSearchClient, DescribeSuggestersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, DescribeSuggestersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* SuggesterNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* Deployed: true || false,
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeSuggestersCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface IndexDocumentsCommandOutput extends IndexDocumentsResponse, __M
|
|
|
26
26
|
* import { CloudSearchClient, IndexDocumentsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, IndexDocumentsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new IndexDocumentsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
|
|
|
26
26
|
* import { CloudSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new ListDomainNamesCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateAvailabilityOptionsCommandOutput extends UpdateAvailabili
|
|
|
26
26
|
* import { CloudSearchClient, UpdateAvailabilityOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, UpdateAvailabilityOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* MultiAZ: true || false, // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateAvailabilityOptionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateDomainEndpointOptionsCommandOutput extends UpdateDomainEn
|
|
|
26
26
|
* import { CloudSearchClient, UpdateDomainEndpointOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, UpdateDomainEndpointOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* DomainEndpointOptions: {
|
|
32
|
+
* EnforceHTTPS: true || false,
|
|
33
|
+
* TLSSecurityPolicy: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateDomainEndpointOptionsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam
|
|
|
26
26
|
* import { CloudSearchClient, UpdateScalingParametersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
27
|
* // const { CloudSearchClient, UpdateScalingParametersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
28
|
* const client = new CloudSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* ScalingParameters: {
|
|
32
|
+
* DesiredInstanceType: "STRING_VALUE",
|
|
33
|
+
* DesiredReplicationCount: Number("int"),
|
|
34
|
+
* DesiredPartitionCount: Number("int"),
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdateScalingParametersCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface UpdateServiceAccessPoliciesCommandOutput extends UpdateServiceA
|
|
|
28
28
|
* import { CloudSearchClient, UpdateServiceAccessPoliciesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
29
|
* // const { CloudSearchClient, UpdateServiceAccessPoliciesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
30
|
* const client = new CloudSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* AccessPolicies: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new UpdateServiceAccessPoliciesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudsearch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudsearch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"fast-xml-parser": "4.1.2",
|
|
57
57
|
"tslib": "^2.5.0"
|