@aws-sdk/client-cloudsearch 3.300.0 → 3.303.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 (30) hide show
  1. package/dist-cjs/models/models_0.js +4 -5
  2. package/dist-es/models/models_0.js +4 -5
  3. package/dist-types/commands/BuildSuggestersCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
  5. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +3 -3
  6. package/dist-types/commands/DefineExpressionCommand.d.ts +2 -2
  7. package/dist-types/commands/DefineIndexFieldCommand.d.ts +13 -13
  8. package/dist-types/commands/DefineSuggesterCommand.d.ts +3 -3
  9. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteExpressionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteSuggesterCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +2 -2
  15. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeDomainsCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeExpressionsCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSuggestersCommand.d.ts +2 -2
  23. package/dist-types/commands/IndexDocumentsCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +1 -1
  28. package/dist-types/models/models_0.d.ts +9 -4
  29. package/dist-types/ts3.4/models/models_0.d.ts +6 -4
  30. package/package.json +34 -34
@@ -122,8 +122,7 @@ class DisabledOperationException extends CloudSearchServiceException_1.CloudSear
122
122
  }
123
123
  }
124
124
  exports.DisabledOperationException = DisabledOperationException;
125
- var TLSSecurityPolicy;
126
- (function (TLSSecurityPolicy) {
127
- TLSSecurityPolicy["POLICY_MIN_TLS_1_0_2019_07"] = "Policy-Min-TLS-1-0-2019-07";
128
- TLSSecurityPolicy["POLICY_MIN_TLS_1_2_2019_07"] = "Policy-Min-TLS-1-2-2019-07";
129
- })(TLSSecurityPolicy = exports.TLSSecurityPolicy || (exports.TLSSecurityPolicy = {}));
125
+ exports.TLSSecurityPolicy = {
126
+ POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
127
+ POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
128
+ };
@@ -111,8 +111,7 @@ export class DisabledOperationException extends __BaseException {
111
111
  this.Message = opts.Message;
112
112
  }
113
113
  }
114
- export var TLSSecurityPolicy;
115
- (function (TLSSecurityPolicy) {
116
- TLSSecurityPolicy["POLICY_MIN_TLS_1_0_2019_07"] = "Policy-Min-TLS-1-0-2019-07";
117
- TLSSecurityPolicy["POLICY_MIN_TLS_1_2_2019_07"] = "Policy-Min-TLS-1-2-2019-07";
118
- })(TLSSecurityPolicy || (TLSSecurityPolicy = {}));
114
+ export const TLSSecurityPolicy = {
115
+ POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
116
+ POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
117
+ };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // BuildSuggestersRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new BuildSuggestersCommand(input);
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // CreateDomainRequest
31
31
  * DomainName: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new CreateDomainCommand(input);
@@ -26,12 +26,12 @@ 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 = {
29
+ * const input = { // DefineAnalysisSchemeRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * AnalysisScheme: {
31
+ * AnalysisScheme: { // AnalysisScheme
32
32
  * AnalysisSchemeName: "STRING_VALUE", // required
33
33
  * AnalysisSchemeLanguage: "STRING_VALUE", // required
34
- * AnalysisOptions: {
34
+ * AnalysisOptions: { // AnalysisOptions
35
35
  * Synonyms: "STRING_VALUE",
36
36
  * Stopwords: "STRING_VALUE",
37
37
  * StemmingDictionary: "STRING_VALUE",
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // DefineExpressionRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * Expression: {
31
+ * Expression: { // Expression
32
32
  * ExpressionName: "STRING_VALUE", // required
33
33
  * ExpressionValue: "STRING_VALUE", // required
34
34
  * },
@@ -26,12 +26,12 @@ 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 = {
29
+ * const input = { // DefineIndexFieldRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * IndexField: {
31
+ * IndexField: { // IndexField
32
32
  * IndexFieldName: "STRING_VALUE", // required
33
33
  * IndexFieldType: "STRING_VALUE", // required
34
- * IntOptions: {
34
+ * IntOptions: { // IntOptions
35
35
  * DefaultValue: Number("long"),
36
36
  * SourceField: "STRING_VALUE",
37
37
  * FacetEnabled: true || false,
@@ -39,7 +39,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
39
39
  * ReturnEnabled: true || false,
40
40
  * SortEnabled: true || false,
41
41
  * },
42
- * DoubleOptions: {
42
+ * DoubleOptions: { // DoubleOptions
43
43
  * DefaultValue: Number("double"),
44
44
  * SourceField: "STRING_VALUE",
45
45
  * FacetEnabled: true || false,
@@ -47,7 +47,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
47
47
  * ReturnEnabled: true || false,
48
48
  * SortEnabled: true || false,
49
49
  * },
50
- * LiteralOptions: {
50
+ * LiteralOptions: { // LiteralOptions
51
51
  * DefaultValue: "STRING_VALUE",
52
52
  * SourceField: "STRING_VALUE",
53
53
  * FacetEnabled: true || false,
@@ -55,7 +55,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
55
55
  * ReturnEnabled: true || false,
56
56
  * SortEnabled: true || false,
57
57
  * },
58
- * TextOptions: {
58
+ * TextOptions: { // TextOptions
59
59
  * DefaultValue: "STRING_VALUE",
60
60
  * SourceField: "STRING_VALUE",
61
61
  * ReturnEnabled: true || false,
@@ -63,7 +63,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
63
63
  * HighlightEnabled: true || false,
64
64
  * AnalysisScheme: "STRING_VALUE",
65
65
  * },
66
- * DateOptions: {
66
+ * DateOptions: { // DateOptions
67
67
  * DefaultValue: "STRING_VALUE",
68
68
  * SourceField: "STRING_VALUE",
69
69
  * FacetEnabled: true || false,
@@ -71,7 +71,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
71
71
  * ReturnEnabled: true || false,
72
72
  * SortEnabled: true || false,
73
73
  * },
74
- * LatLonOptions: {
74
+ * LatLonOptions: { // LatLonOptions
75
75
  * DefaultValue: "STRING_VALUE",
76
76
  * SourceField: "STRING_VALUE",
77
77
  * FacetEnabled: true || false,
@@ -79,35 +79,35 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
79
79
  * ReturnEnabled: true || false,
80
80
  * SortEnabled: true || false,
81
81
  * },
82
- * IntArrayOptions: {
82
+ * IntArrayOptions: { // IntArrayOptions
83
83
  * DefaultValue: Number("long"),
84
84
  * SourceFields: "STRING_VALUE",
85
85
  * FacetEnabled: true || false,
86
86
  * SearchEnabled: true || false,
87
87
  * ReturnEnabled: true || false,
88
88
  * },
89
- * DoubleArrayOptions: {
89
+ * DoubleArrayOptions: { // DoubleArrayOptions
90
90
  * DefaultValue: Number("double"),
91
91
  * SourceFields: "STRING_VALUE",
92
92
  * FacetEnabled: true || false,
93
93
  * SearchEnabled: true || false,
94
94
  * ReturnEnabled: true || false,
95
95
  * },
96
- * LiteralArrayOptions: {
96
+ * LiteralArrayOptions: { // LiteralArrayOptions
97
97
  * DefaultValue: "STRING_VALUE",
98
98
  * SourceFields: "STRING_VALUE",
99
99
  * FacetEnabled: true || false,
100
100
  * SearchEnabled: true || false,
101
101
  * ReturnEnabled: true || false,
102
102
  * },
103
- * TextArrayOptions: {
103
+ * TextArrayOptions: { // TextArrayOptions
104
104
  * DefaultValue: "STRING_VALUE",
105
105
  * SourceFields: "STRING_VALUE",
106
106
  * ReturnEnabled: true || false,
107
107
  * HighlightEnabled: true || false,
108
108
  * AnalysisScheme: "STRING_VALUE",
109
109
  * },
110
- * DateArrayOptions: {
110
+ * DateArrayOptions: { // DateArrayOptions
111
111
  * DefaultValue: "STRING_VALUE",
112
112
  * SourceFields: "STRING_VALUE",
113
113
  * FacetEnabled: true || false,
@@ -26,11 +26,11 @@ 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 = {
29
+ * const input = { // DefineSuggesterRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * Suggester: {
31
+ * Suggester: { // Suggester
32
32
  * SuggesterName: "STRING_VALUE", // required
33
- * DocumentSuggesterOptions: {
33
+ * DocumentSuggesterOptions: { // DocumentSuggesterOptions
34
34
  * SourceField: "STRING_VALUE", // required
35
35
  * FuzzyMatching: "STRING_VALUE",
36
36
  * SortExpression: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteAnalysisSchemeRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * AnalysisSchemeName: "STRING_VALUE", // required
32
32
  * };
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // DeleteDomainRequest
31
31
  * DomainName: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteDomainCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteExpressionRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * ExpressionName: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteIndexFieldRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * IndexFieldName: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteSuggesterRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * SuggesterName: "STRING_VALUE", // required
32
32
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // DescribeAnalysisSchemesRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * AnalysisSchemeNames: [
31
+ * AnalysisSchemeNames: [ // StandardNameList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * Deployed: true || false,
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DescribeAvailabilityOptionsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * Deployed: true || false,
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DescribeDomainEndpointOptionsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * Deployed: true || false,
32
32
  * };
@@ -28,8 +28,8 @@ 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: [
31
+ * const input = { // DescribeDomainsRequest
32
+ * DomainNames: [ // DomainNameList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // DescribeExpressionsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * ExpressionNames: [
31
+ * ExpressionNames: [ // StandardNameList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * Deployed: true || false,
@@ -28,9 +28,9 @@ 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 = {
31
+ * const input = { // DescribeIndexFieldsRequest
32
32
  * DomainName: "STRING_VALUE", // required
33
- * FieldNames: [
33
+ * FieldNames: [ // DynamicFieldNameList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * Deployed: true || false,
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DescribeScalingParametersRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeScalingParametersCommand(input);
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // DescribeServiceAccessPoliciesRequest
31
31
  * DomainName: "STRING_VALUE", // required
32
32
  * Deployed: true || false,
33
33
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // DescribeSuggestersRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * SuggesterNames: [
31
+ * SuggesterNames: [ // StandardNameList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * Deployed: true || false,
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // IndexDocumentsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new IndexDocumentsCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // UpdateAvailabilityOptionsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
31
  * MultiAZ: true || false, // required
32
32
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UpdateDomainEndpointOptionsRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * DomainEndpointOptions: {
31
+ * DomainEndpointOptions: { // DomainEndpointOptions
32
32
  * EnforceHTTPS: true || false,
33
33
  * TLSSecurityPolicy: "STRING_VALUE",
34
34
  * },
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UpdateScalingParametersRequest
30
30
  * DomainName: "STRING_VALUE", // required
31
- * ScalingParameters: {
31
+ * ScalingParameters: { // ScalingParameters
32
32
  * DesiredInstanceType: "STRING_VALUE",
33
33
  * DesiredReplicationCount: Number("int"),
34
34
  * DesiredPartitionCount: Number("int"),
@@ -28,7 +28,7 @@ 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 = {
31
+ * const input = { // UpdateServiceAccessPoliciesRequest
32
32
  * DomainName: "STRING_VALUE", // required
33
33
  * AccessPolicies: "STRING_VALUE", // required
34
34
  * };
@@ -1206,11 +1206,16 @@ export interface DescribeDomainEndpointOptionsRequest {
1206
1206
  }
1207
1207
  /**
1208
1208
  * @public
1209
+ * @enum
1209
1210
  */
1210
- export declare enum TLSSecurityPolicy {
1211
- POLICY_MIN_TLS_1_0_2019_07 = "Policy-Min-TLS-1-0-2019-07",
1212
- POLICY_MIN_TLS_1_2_2019_07 = "Policy-Min-TLS-1-2-2019-07"
1213
- }
1211
+ export declare const TLSSecurityPolicy: {
1212
+ readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
1213
+ readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
1214
+ };
1215
+ /**
1216
+ * @public
1217
+ */
1218
+ export type TLSSecurityPolicy = (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
1214
1219
  /**
1215
1220
  * @public
1216
1221
  * <p>The domain's endpoint options.</p>
@@ -388,10 +388,12 @@ export interface DescribeDomainEndpointOptionsRequest {
388
388
  DomainName: string | undefined;
389
389
  Deployed?: boolean;
390
390
  }
391
- export declare enum TLSSecurityPolicy {
392
- POLICY_MIN_TLS_1_0_2019_07 = "Policy-Min-TLS-1-0-2019-07",
393
- POLICY_MIN_TLS_1_2_2019_07 = "Policy-Min-TLS-1-2-2019-07",
394
- }
391
+ export declare const TLSSecurityPolicy: {
392
+ readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
393
+ readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
394
+ };
395
+ export type TLSSecurityPolicy =
396
+ (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
395
397
  export interface DomainEndpointOptions {
396
398
  EnforceHTTPS?: boolean;
397
399
  TLSSecurityPolicy?: TLSSecurityPolicy | string;
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.300.0",
4
+ "version": "3.303.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,43 +21,43 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "fast-xml-parser": "4.1.2",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "concurrently": "7.0.0",