@aws-sdk/client-cloudsearch 3.1137.0 → 3.1139.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-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -459,10 +459,10 @@ const _hE = "httpError";
459
459
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearch";
460
460
  const _se = "server";
461
461
  const n0 = "com.amazonaws.cloudsearch";
462
- const _s_registry = TypeRegistry.for(_s);
462
+ const _s_registry = new TypeRegistry(_s);
463
463
  var CloudSearchServiceException$ = [-3, _s, "CloudSearchServiceException", 0, [], []];
464
464
  _s_registry.registerError(CloudSearchServiceException$, CloudSearchServiceException);
465
- const n0_registry = TypeRegistry.for(n0);
465
+ const n0_registry = new TypeRegistry(n0);
466
466
  var BaseException$ = [-3, n0, _BE,
467
467
  { [_e]: _c },
468
468
  [_C, _M],
@@ -193,10 +193,10 @@ const n0 = "com.amazonaws.cloudsearch";
193
193
  import { TypeRegistry } from "@smithy/core/schema";
194
194
  import { CloudSearchServiceException } from "../models/CloudSearchServiceException";
195
195
  import { BaseException, DisabledOperationException, InternalException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/errors";
196
- const _s_registry = TypeRegistry.for(_s);
196
+ const _s_registry = new TypeRegistry(_s);
197
197
  export var CloudSearchServiceException$ = [-3, _s, "CloudSearchServiceException", 0, [], []];
198
198
  _s_registry.registerError(CloudSearchServiceException$, CloudSearchServiceException);
199
- const n0_registry = TypeRegistry.for(n0);
199
+ const n0_registry = new TypeRegistry(n0);
200
200
  export var BaseException$ = [-3, n0, _BE,
201
201
  { [_e]: _c },
202
202
  [_C, _M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { CloudSearchClient } from "./CloudSearchClient";
3
3
  import { type BuildSuggestersCommandInput, type BuildSuggestersCommandOutput } from "./commands/BuildSuggestersCommand";
4
4
  import { type CreateDomainCommandInput, type CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
@@ -26,165 +26,171 @@ import { type UpdateAvailabilityOptionsCommandInput, type UpdateAvailabilityOpti
26
26
  import { type UpdateDomainEndpointOptionsCommandInput, type UpdateDomainEndpointOptionsCommandOutput } from "./commands/UpdateDomainEndpointOptionsCommand";
27
27
  import { type UpdateScalingParametersCommandInput, type UpdateScalingParametersCommandOutput } from "./commands/UpdateScalingParametersCommand";
28
28
  import { type UpdateServiceAccessPoliciesCommandInput, type UpdateServiceAccessPoliciesCommandOutput } from "./commands/UpdateServiceAccessPoliciesCommand";
29
+ /**
30
+ * @public
31
+ */
32
+ export interface CloudSearchRequestOptions extends __HttpHandlerOptions {
33
+ metricsRecorder?: __MetricsRecorder<unknown>;
34
+ }
29
35
  export interface CloudSearch {
30
36
  /**
31
37
  * @see {@link BuildSuggestersCommand}
32
38
  */
33
- buildSuggesters(args: BuildSuggestersCommandInput, options?: __HttpHandlerOptions): Promise<BuildSuggestersCommandOutput>;
39
+ buildSuggesters(args: BuildSuggestersCommandInput, options?: CloudSearchRequestOptions): Promise<BuildSuggestersCommandOutput>;
34
40
  buildSuggesters(args: BuildSuggestersCommandInput, cb: (err: any, data?: BuildSuggestersCommandOutput) => void): void;
35
- buildSuggesters(args: BuildSuggestersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BuildSuggestersCommandOutput) => void): void;
41
+ buildSuggesters(args: BuildSuggestersCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: BuildSuggestersCommandOutput) => void): void;
36
42
  /**
37
43
  * @see {@link CreateDomainCommand}
38
44
  */
39
- createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
45
+ createDomain(args: CreateDomainCommandInput, options?: CloudSearchRequestOptions): Promise<CreateDomainCommandOutput>;
40
46
  createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
41
- createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
47
+ createDomain(args: CreateDomainCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link DefineAnalysisSchemeCommand}
44
50
  */
45
- defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: __HttpHandlerOptions): Promise<DefineAnalysisSchemeCommandOutput>;
51
+ defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: CloudSearchRequestOptions): Promise<DefineAnalysisSchemeCommandOutput>;
46
52
  defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, cb: (err: any, data?: DefineAnalysisSchemeCommandOutput) => void): void;
47
- defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DefineAnalysisSchemeCommandOutput) => void): void;
53
+ defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DefineAnalysisSchemeCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link DefineExpressionCommand}
50
56
  */
51
- defineExpression(args: DefineExpressionCommandInput, options?: __HttpHandlerOptions): Promise<DefineExpressionCommandOutput>;
57
+ defineExpression(args: DefineExpressionCommandInput, options?: CloudSearchRequestOptions): Promise<DefineExpressionCommandOutput>;
52
58
  defineExpression(args: DefineExpressionCommandInput, cb: (err: any, data?: DefineExpressionCommandOutput) => void): void;
53
- defineExpression(args: DefineExpressionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DefineExpressionCommandOutput) => void): void;
59
+ defineExpression(args: DefineExpressionCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DefineExpressionCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link DefineIndexFieldCommand}
56
62
  */
57
- defineIndexField(args: DefineIndexFieldCommandInput, options?: __HttpHandlerOptions): Promise<DefineIndexFieldCommandOutput>;
63
+ defineIndexField(args: DefineIndexFieldCommandInput, options?: CloudSearchRequestOptions): Promise<DefineIndexFieldCommandOutput>;
58
64
  defineIndexField(args: DefineIndexFieldCommandInput, cb: (err: any, data?: DefineIndexFieldCommandOutput) => void): void;
59
- defineIndexField(args: DefineIndexFieldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DefineIndexFieldCommandOutput) => void): void;
65
+ defineIndexField(args: DefineIndexFieldCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DefineIndexFieldCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link DefineSuggesterCommand}
62
68
  */
63
- defineSuggester(args: DefineSuggesterCommandInput, options?: __HttpHandlerOptions): Promise<DefineSuggesterCommandOutput>;
69
+ defineSuggester(args: DefineSuggesterCommandInput, options?: CloudSearchRequestOptions): Promise<DefineSuggesterCommandOutput>;
64
70
  defineSuggester(args: DefineSuggesterCommandInput, cb: (err: any, data?: DefineSuggesterCommandOutput) => void): void;
65
- defineSuggester(args: DefineSuggesterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DefineSuggesterCommandOutput) => void): void;
71
+ defineSuggester(args: DefineSuggesterCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DefineSuggesterCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link DeleteAnalysisSchemeCommand}
68
74
  */
69
- deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnalysisSchemeCommandOutput>;
75
+ deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: CloudSearchRequestOptions): Promise<DeleteAnalysisSchemeCommandOutput>;
70
76
  deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, cb: (err: any, data?: DeleteAnalysisSchemeCommandOutput) => void): void;
71
- deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnalysisSchemeCommandOutput) => void): void;
77
+ deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DeleteAnalysisSchemeCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link DeleteDomainCommand}
74
80
  */
75
- deleteDomain(args: DeleteDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainCommandOutput>;
81
+ deleteDomain(args: DeleteDomainCommandInput, options?: CloudSearchRequestOptions): Promise<DeleteDomainCommandOutput>;
76
82
  deleteDomain(args: DeleteDomainCommandInput, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
77
- deleteDomain(args: DeleteDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
83
+ deleteDomain(args: DeleteDomainCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
78
84
  /**
79
85
  * @see {@link DeleteExpressionCommand}
80
86
  */
81
- deleteExpression(args: DeleteExpressionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExpressionCommandOutput>;
87
+ deleteExpression(args: DeleteExpressionCommandInput, options?: CloudSearchRequestOptions): Promise<DeleteExpressionCommandOutput>;
82
88
  deleteExpression(args: DeleteExpressionCommandInput, cb: (err: any, data?: DeleteExpressionCommandOutput) => void): void;
83
- deleteExpression(args: DeleteExpressionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExpressionCommandOutput) => void): void;
89
+ deleteExpression(args: DeleteExpressionCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DeleteExpressionCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link DeleteIndexFieldCommand}
86
92
  */
87
- deleteIndexField(args: DeleteIndexFieldCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexFieldCommandOutput>;
93
+ deleteIndexField(args: DeleteIndexFieldCommandInput, options?: CloudSearchRequestOptions): Promise<DeleteIndexFieldCommandOutput>;
88
94
  deleteIndexField(args: DeleteIndexFieldCommandInput, cb: (err: any, data?: DeleteIndexFieldCommandOutput) => void): void;
89
- deleteIndexField(args: DeleteIndexFieldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexFieldCommandOutput) => void): void;
95
+ deleteIndexField(args: DeleteIndexFieldCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DeleteIndexFieldCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link DeleteSuggesterCommand}
92
98
  */
93
- deleteSuggester(args: DeleteSuggesterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSuggesterCommandOutput>;
99
+ deleteSuggester(args: DeleteSuggesterCommandInput, options?: CloudSearchRequestOptions): Promise<DeleteSuggesterCommandOutput>;
94
100
  deleteSuggester(args: DeleteSuggesterCommandInput, cb: (err: any, data?: DeleteSuggesterCommandOutput) => void): void;
95
- deleteSuggester(args: DeleteSuggesterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSuggesterCommandOutput) => void): void;
101
+ deleteSuggester(args: DeleteSuggesterCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DeleteSuggesterCommandOutput) => void): void;
96
102
  /**
97
103
  * @see {@link DescribeAnalysisSchemesCommand}
98
104
  */
99
- describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnalysisSchemesCommandOutput>;
105
+ describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeAnalysisSchemesCommandOutput>;
100
106
  describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, cb: (err: any, data?: DescribeAnalysisSchemesCommandOutput) => void): void;
101
- describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnalysisSchemesCommandOutput) => void): void;
107
+ describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeAnalysisSchemesCommandOutput) => void): void;
102
108
  /**
103
109
  * @see {@link DescribeAvailabilityOptionsCommand}
104
110
  */
105
- describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAvailabilityOptionsCommandOutput>;
111
+ describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeAvailabilityOptionsCommandOutput>;
106
112
  describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, cb: (err: any, data?: DescribeAvailabilityOptionsCommandOutput) => void): void;
107
- describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAvailabilityOptionsCommandOutput) => void): void;
113
+ describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeAvailabilityOptionsCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link DescribeDomainEndpointOptionsCommand}
110
116
  */
111
- describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainEndpointOptionsCommandOutput>;
117
+ describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeDomainEndpointOptionsCommandOutput>;
112
118
  describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, cb: (err: any, data?: DescribeDomainEndpointOptionsCommandOutput) => void): void;
113
- describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainEndpointOptionsCommandOutput) => void): void;
119
+ describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeDomainEndpointOptionsCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link DescribeDomainsCommand}
116
122
  */
117
123
  describeDomains(): Promise<DescribeDomainsCommandOutput>;
118
- describeDomains(args: DescribeDomainsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainsCommandOutput>;
124
+ describeDomains(args: DescribeDomainsCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeDomainsCommandOutput>;
119
125
  describeDomains(args: DescribeDomainsCommandInput, cb: (err: any, data?: DescribeDomainsCommandOutput) => void): void;
120
- describeDomains(args: DescribeDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainsCommandOutput) => void): void;
126
+ describeDomains(args: DescribeDomainsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeDomainsCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link DescribeExpressionsCommand}
123
129
  */
124
- describeExpressions(args: DescribeExpressionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExpressionsCommandOutput>;
130
+ describeExpressions(args: DescribeExpressionsCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeExpressionsCommandOutput>;
125
131
  describeExpressions(args: DescribeExpressionsCommandInput, cb: (err: any, data?: DescribeExpressionsCommandOutput) => void): void;
126
- describeExpressions(args: DescribeExpressionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExpressionsCommandOutput) => void): void;
132
+ describeExpressions(args: DescribeExpressionsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeExpressionsCommandOutput) => void): void;
127
133
  /**
128
134
  * @see {@link DescribeIndexFieldsCommand}
129
135
  */
130
- describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIndexFieldsCommandOutput>;
136
+ describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeIndexFieldsCommandOutput>;
131
137
  describeIndexFields(args: DescribeIndexFieldsCommandInput, cb: (err: any, data?: DescribeIndexFieldsCommandOutput) => void): void;
132
- describeIndexFields(args: DescribeIndexFieldsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIndexFieldsCommandOutput) => void): void;
138
+ describeIndexFields(args: DescribeIndexFieldsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeIndexFieldsCommandOutput) => void): void;
133
139
  /**
134
140
  * @see {@link DescribeScalingParametersCommand}
135
141
  */
136
- describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingParametersCommandOutput>;
142
+ describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeScalingParametersCommandOutput>;
137
143
  describeScalingParameters(args: DescribeScalingParametersCommandInput, cb: (err: any, data?: DescribeScalingParametersCommandOutput) => void): void;
138
- describeScalingParameters(args: DescribeScalingParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingParametersCommandOutput) => void): void;
144
+ describeScalingParameters(args: DescribeScalingParametersCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeScalingParametersCommandOutput) => void): void;
139
145
  /**
140
146
  * @see {@link DescribeServiceAccessPoliciesCommand}
141
147
  */
142
- describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceAccessPoliciesCommandOutput>;
148
+ describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeServiceAccessPoliciesCommandOutput>;
143
149
  describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, cb: (err: any, data?: DescribeServiceAccessPoliciesCommandOutput) => void): void;
144
- describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceAccessPoliciesCommandOutput) => void): void;
150
+ describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeServiceAccessPoliciesCommandOutput) => void): void;
145
151
  /**
146
152
  * @see {@link DescribeSuggestersCommand}
147
153
  */
148
- describeSuggesters(args: DescribeSuggestersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSuggestersCommandOutput>;
154
+ describeSuggesters(args: DescribeSuggestersCommandInput, options?: CloudSearchRequestOptions): Promise<DescribeSuggestersCommandOutput>;
149
155
  describeSuggesters(args: DescribeSuggestersCommandInput, cb: (err: any, data?: DescribeSuggestersCommandOutput) => void): void;
150
- describeSuggesters(args: DescribeSuggestersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSuggestersCommandOutput) => void): void;
156
+ describeSuggesters(args: DescribeSuggestersCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: DescribeSuggestersCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link IndexDocumentsCommand}
153
159
  */
154
- indexDocuments(args: IndexDocumentsCommandInput, options?: __HttpHandlerOptions): Promise<IndexDocumentsCommandOutput>;
160
+ indexDocuments(args: IndexDocumentsCommandInput, options?: CloudSearchRequestOptions): Promise<IndexDocumentsCommandOutput>;
155
161
  indexDocuments(args: IndexDocumentsCommandInput, cb: (err: any, data?: IndexDocumentsCommandOutput) => void): void;
156
- indexDocuments(args: IndexDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IndexDocumentsCommandOutput) => void): void;
162
+ indexDocuments(args: IndexDocumentsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: IndexDocumentsCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link ListDomainNamesCommand}
159
165
  */
160
166
  listDomainNames(): Promise<ListDomainNamesCommandOutput>;
161
- listDomainNames(args: ListDomainNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainNamesCommandOutput>;
167
+ listDomainNames(args: ListDomainNamesCommandInput, options?: CloudSearchRequestOptions): Promise<ListDomainNamesCommandOutput>;
162
168
  listDomainNames(args: ListDomainNamesCommandInput, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
163
- listDomainNames(args: ListDomainNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
169
+ listDomainNames(args: ListDomainNamesCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
164
170
  /**
165
171
  * @see {@link UpdateAvailabilityOptionsCommand}
166
172
  */
167
- updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAvailabilityOptionsCommandOutput>;
173
+ updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: CloudSearchRequestOptions): Promise<UpdateAvailabilityOptionsCommandOutput>;
168
174
  updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, cb: (err: any, data?: UpdateAvailabilityOptionsCommandOutput) => void): void;
169
- updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAvailabilityOptionsCommandOutput) => void): void;
175
+ updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: UpdateAvailabilityOptionsCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link UpdateDomainEndpointOptionsCommand}
172
178
  */
173
- updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainEndpointOptionsCommandOutput>;
179
+ updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: CloudSearchRequestOptions): Promise<UpdateDomainEndpointOptionsCommandOutput>;
174
180
  updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, cb: (err: any, data?: UpdateDomainEndpointOptionsCommandOutput) => void): void;
175
- updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDomainEndpointOptionsCommandOutput) => void): void;
181
+ updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: UpdateDomainEndpointOptionsCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link UpdateScalingParametersCommand}
178
184
  */
179
- updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScalingParametersCommandOutput>;
185
+ updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: CloudSearchRequestOptions): Promise<UpdateScalingParametersCommandOutput>;
180
186
  updateScalingParameters(args: UpdateScalingParametersCommandInput, cb: (err: any, data?: UpdateScalingParametersCommandOutput) => void): void;
181
- updateScalingParameters(args: UpdateScalingParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScalingParametersCommandOutput) => void): void;
187
+ updateScalingParameters(args: UpdateScalingParametersCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: UpdateScalingParametersCommandOutput) => void): void;
182
188
  /**
183
189
  * @see {@link UpdateServiceAccessPoliciesCommand}
184
190
  */
185
- updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceAccessPoliciesCommandOutput>;
191
+ updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: CloudSearchRequestOptions): Promise<UpdateServiceAccessPoliciesCommandOutput>;
186
192
  updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, cb: (err: any, data?: UpdateServiceAccessPoliciesCommandOutput) => void): void;
187
- updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceAccessPoliciesCommandOutput) => void): void;
193
+ updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options: CloudSearchRequestOptions, cb: (err: any, data?: UpdateServiceAccessPoliciesCommandOutput) => void): void;
188
194
  }
189
195
  /**
190
196
  * <fullname>Amazon CloudSearch Configuration Service</fullname>
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CloudSearchClient } from "./CloudSearchClient";
3
6
  import {
4
7
  BuildSuggestersCommandInput,
@@ -104,10 +107,13 @@ import {
104
107
  UpdateServiceAccessPoliciesCommandInput,
105
108
  UpdateServiceAccessPoliciesCommandOutput,
106
109
  } from "./commands/UpdateServiceAccessPoliciesCommand";
110
+ export interface CloudSearchRequestOptions extends __HttpHandlerOptions {
111
+ metricsRecorder?: __MetricsRecorder<unknown>;
112
+ }
107
113
  export interface CloudSearch {
108
114
  buildSuggesters(
109
115
  args: BuildSuggestersCommandInput,
110
- options?: __HttpHandlerOptions,
116
+ options?: CloudSearchRequestOptions,
111
117
  ): Promise<BuildSuggestersCommandOutput>;
112
118
  buildSuggesters(
113
119
  args: BuildSuggestersCommandInput,
@@ -115,12 +121,12 @@ export interface CloudSearch {
115
121
  ): void;
116
122
  buildSuggesters(
117
123
  args: BuildSuggestersCommandInput,
118
- options: __HttpHandlerOptions,
124
+ options: CloudSearchRequestOptions,
119
125
  cb: (err: any, data?: BuildSuggestersCommandOutput) => void,
120
126
  ): void;
121
127
  createDomain(
122
128
  args: CreateDomainCommandInput,
123
- options?: __HttpHandlerOptions,
129
+ options?: CloudSearchRequestOptions,
124
130
  ): Promise<CreateDomainCommandOutput>;
125
131
  createDomain(
126
132
  args: CreateDomainCommandInput,
@@ -128,12 +134,12 @@ export interface CloudSearch {
128
134
  ): void;
129
135
  createDomain(
130
136
  args: CreateDomainCommandInput,
131
- options: __HttpHandlerOptions,
137
+ options: CloudSearchRequestOptions,
132
138
  cb: (err: any, data?: CreateDomainCommandOutput) => void,
133
139
  ): void;
134
140
  defineAnalysisScheme(
135
141
  args: DefineAnalysisSchemeCommandInput,
136
- options?: __HttpHandlerOptions,
142
+ options?: CloudSearchRequestOptions,
137
143
  ): Promise<DefineAnalysisSchemeCommandOutput>;
138
144
  defineAnalysisScheme(
139
145
  args: DefineAnalysisSchemeCommandInput,
@@ -141,12 +147,12 @@ export interface CloudSearch {
141
147
  ): void;
142
148
  defineAnalysisScheme(
143
149
  args: DefineAnalysisSchemeCommandInput,
144
- options: __HttpHandlerOptions,
150
+ options: CloudSearchRequestOptions,
145
151
  cb: (err: any, data?: DefineAnalysisSchemeCommandOutput) => void,
146
152
  ): void;
147
153
  defineExpression(
148
154
  args: DefineExpressionCommandInput,
149
- options?: __HttpHandlerOptions,
155
+ options?: CloudSearchRequestOptions,
150
156
  ): Promise<DefineExpressionCommandOutput>;
151
157
  defineExpression(
152
158
  args: DefineExpressionCommandInput,
@@ -154,12 +160,12 @@ export interface CloudSearch {
154
160
  ): void;
155
161
  defineExpression(
156
162
  args: DefineExpressionCommandInput,
157
- options: __HttpHandlerOptions,
163
+ options: CloudSearchRequestOptions,
158
164
  cb: (err: any, data?: DefineExpressionCommandOutput) => void,
159
165
  ): void;
160
166
  defineIndexField(
161
167
  args: DefineIndexFieldCommandInput,
162
- options?: __HttpHandlerOptions,
168
+ options?: CloudSearchRequestOptions,
163
169
  ): Promise<DefineIndexFieldCommandOutput>;
164
170
  defineIndexField(
165
171
  args: DefineIndexFieldCommandInput,
@@ -167,12 +173,12 @@ export interface CloudSearch {
167
173
  ): void;
168
174
  defineIndexField(
169
175
  args: DefineIndexFieldCommandInput,
170
- options: __HttpHandlerOptions,
176
+ options: CloudSearchRequestOptions,
171
177
  cb: (err: any, data?: DefineIndexFieldCommandOutput) => void,
172
178
  ): void;
173
179
  defineSuggester(
174
180
  args: DefineSuggesterCommandInput,
175
- options?: __HttpHandlerOptions,
181
+ options?: CloudSearchRequestOptions,
176
182
  ): Promise<DefineSuggesterCommandOutput>;
177
183
  defineSuggester(
178
184
  args: DefineSuggesterCommandInput,
@@ -180,12 +186,12 @@ export interface CloudSearch {
180
186
  ): void;
181
187
  defineSuggester(
182
188
  args: DefineSuggesterCommandInput,
183
- options: __HttpHandlerOptions,
189
+ options: CloudSearchRequestOptions,
184
190
  cb: (err: any, data?: DefineSuggesterCommandOutput) => void,
185
191
  ): void;
186
192
  deleteAnalysisScheme(
187
193
  args: DeleteAnalysisSchemeCommandInput,
188
- options?: __HttpHandlerOptions,
194
+ options?: CloudSearchRequestOptions,
189
195
  ): Promise<DeleteAnalysisSchemeCommandOutput>;
190
196
  deleteAnalysisScheme(
191
197
  args: DeleteAnalysisSchemeCommandInput,
@@ -193,12 +199,12 @@ export interface CloudSearch {
193
199
  ): void;
194
200
  deleteAnalysisScheme(
195
201
  args: DeleteAnalysisSchemeCommandInput,
196
- options: __HttpHandlerOptions,
202
+ options: CloudSearchRequestOptions,
197
203
  cb: (err: any, data?: DeleteAnalysisSchemeCommandOutput) => void,
198
204
  ): void;
199
205
  deleteDomain(
200
206
  args: DeleteDomainCommandInput,
201
- options?: __HttpHandlerOptions,
207
+ options?: CloudSearchRequestOptions,
202
208
  ): Promise<DeleteDomainCommandOutput>;
203
209
  deleteDomain(
204
210
  args: DeleteDomainCommandInput,
@@ -206,12 +212,12 @@ export interface CloudSearch {
206
212
  ): void;
207
213
  deleteDomain(
208
214
  args: DeleteDomainCommandInput,
209
- options: __HttpHandlerOptions,
215
+ options: CloudSearchRequestOptions,
210
216
  cb: (err: any, data?: DeleteDomainCommandOutput) => void,
211
217
  ): void;
212
218
  deleteExpression(
213
219
  args: DeleteExpressionCommandInput,
214
- options?: __HttpHandlerOptions,
220
+ options?: CloudSearchRequestOptions,
215
221
  ): Promise<DeleteExpressionCommandOutput>;
216
222
  deleteExpression(
217
223
  args: DeleteExpressionCommandInput,
@@ -219,12 +225,12 @@ export interface CloudSearch {
219
225
  ): void;
220
226
  deleteExpression(
221
227
  args: DeleteExpressionCommandInput,
222
- options: __HttpHandlerOptions,
228
+ options: CloudSearchRequestOptions,
223
229
  cb: (err: any, data?: DeleteExpressionCommandOutput) => void,
224
230
  ): void;
225
231
  deleteIndexField(
226
232
  args: DeleteIndexFieldCommandInput,
227
- options?: __HttpHandlerOptions,
233
+ options?: CloudSearchRequestOptions,
228
234
  ): Promise<DeleteIndexFieldCommandOutput>;
229
235
  deleteIndexField(
230
236
  args: DeleteIndexFieldCommandInput,
@@ -232,12 +238,12 @@ export interface CloudSearch {
232
238
  ): void;
233
239
  deleteIndexField(
234
240
  args: DeleteIndexFieldCommandInput,
235
- options: __HttpHandlerOptions,
241
+ options: CloudSearchRequestOptions,
236
242
  cb: (err: any, data?: DeleteIndexFieldCommandOutput) => void,
237
243
  ): void;
238
244
  deleteSuggester(
239
245
  args: DeleteSuggesterCommandInput,
240
- options?: __HttpHandlerOptions,
246
+ options?: CloudSearchRequestOptions,
241
247
  ): Promise<DeleteSuggesterCommandOutput>;
242
248
  deleteSuggester(
243
249
  args: DeleteSuggesterCommandInput,
@@ -245,12 +251,12 @@ export interface CloudSearch {
245
251
  ): void;
246
252
  deleteSuggester(
247
253
  args: DeleteSuggesterCommandInput,
248
- options: __HttpHandlerOptions,
254
+ options: CloudSearchRequestOptions,
249
255
  cb: (err: any, data?: DeleteSuggesterCommandOutput) => void,
250
256
  ): void;
251
257
  describeAnalysisSchemes(
252
258
  args: DescribeAnalysisSchemesCommandInput,
253
- options?: __HttpHandlerOptions,
259
+ options?: CloudSearchRequestOptions,
254
260
  ): Promise<DescribeAnalysisSchemesCommandOutput>;
255
261
  describeAnalysisSchemes(
256
262
  args: DescribeAnalysisSchemesCommandInput,
@@ -258,12 +264,12 @@ export interface CloudSearch {
258
264
  ): void;
259
265
  describeAnalysisSchemes(
260
266
  args: DescribeAnalysisSchemesCommandInput,
261
- options: __HttpHandlerOptions,
267
+ options: CloudSearchRequestOptions,
262
268
  cb: (err: any, data?: DescribeAnalysisSchemesCommandOutput) => void,
263
269
  ): void;
264
270
  describeAvailabilityOptions(
265
271
  args: DescribeAvailabilityOptionsCommandInput,
266
- options?: __HttpHandlerOptions,
272
+ options?: CloudSearchRequestOptions,
267
273
  ): Promise<DescribeAvailabilityOptionsCommandOutput>;
268
274
  describeAvailabilityOptions(
269
275
  args: DescribeAvailabilityOptionsCommandInput,
@@ -271,12 +277,12 @@ export interface CloudSearch {
271
277
  ): void;
272
278
  describeAvailabilityOptions(
273
279
  args: DescribeAvailabilityOptionsCommandInput,
274
- options: __HttpHandlerOptions,
280
+ options: CloudSearchRequestOptions,
275
281
  cb: (err: any, data?: DescribeAvailabilityOptionsCommandOutput) => void,
276
282
  ): void;
277
283
  describeDomainEndpointOptions(
278
284
  args: DescribeDomainEndpointOptionsCommandInput,
279
- options?: __HttpHandlerOptions,
285
+ options?: CloudSearchRequestOptions,
280
286
  ): Promise<DescribeDomainEndpointOptionsCommandOutput>;
281
287
  describeDomainEndpointOptions(
282
288
  args: DescribeDomainEndpointOptionsCommandInput,
@@ -284,13 +290,13 @@ export interface CloudSearch {
284
290
  ): void;
285
291
  describeDomainEndpointOptions(
286
292
  args: DescribeDomainEndpointOptionsCommandInput,
287
- options: __HttpHandlerOptions,
293
+ options: CloudSearchRequestOptions,
288
294
  cb: (err: any, data?: DescribeDomainEndpointOptionsCommandOutput) => void,
289
295
  ): void;
290
296
  describeDomains(): Promise<DescribeDomainsCommandOutput>;
291
297
  describeDomains(
292
298
  args: DescribeDomainsCommandInput,
293
- options?: __HttpHandlerOptions,
299
+ options?: CloudSearchRequestOptions,
294
300
  ): Promise<DescribeDomainsCommandOutput>;
295
301
  describeDomains(
296
302
  args: DescribeDomainsCommandInput,
@@ -298,12 +304,12 @@ export interface CloudSearch {
298
304
  ): void;
299
305
  describeDomains(
300
306
  args: DescribeDomainsCommandInput,
301
- options: __HttpHandlerOptions,
307
+ options: CloudSearchRequestOptions,
302
308
  cb: (err: any, data?: DescribeDomainsCommandOutput) => void,
303
309
  ): void;
304
310
  describeExpressions(
305
311
  args: DescribeExpressionsCommandInput,
306
- options?: __HttpHandlerOptions,
312
+ options?: CloudSearchRequestOptions,
307
313
  ): Promise<DescribeExpressionsCommandOutput>;
308
314
  describeExpressions(
309
315
  args: DescribeExpressionsCommandInput,
@@ -311,12 +317,12 @@ export interface CloudSearch {
311
317
  ): void;
312
318
  describeExpressions(
313
319
  args: DescribeExpressionsCommandInput,
314
- options: __HttpHandlerOptions,
320
+ options: CloudSearchRequestOptions,
315
321
  cb: (err: any, data?: DescribeExpressionsCommandOutput) => void,
316
322
  ): void;
317
323
  describeIndexFields(
318
324
  args: DescribeIndexFieldsCommandInput,
319
- options?: __HttpHandlerOptions,
325
+ options?: CloudSearchRequestOptions,
320
326
  ): Promise<DescribeIndexFieldsCommandOutput>;
321
327
  describeIndexFields(
322
328
  args: DescribeIndexFieldsCommandInput,
@@ -324,12 +330,12 @@ export interface CloudSearch {
324
330
  ): void;
325
331
  describeIndexFields(
326
332
  args: DescribeIndexFieldsCommandInput,
327
- options: __HttpHandlerOptions,
333
+ options: CloudSearchRequestOptions,
328
334
  cb: (err: any, data?: DescribeIndexFieldsCommandOutput) => void,
329
335
  ): void;
330
336
  describeScalingParameters(
331
337
  args: DescribeScalingParametersCommandInput,
332
- options?: __HttpHandlerOptions,
338
+ options?: CloudSearchRequestOptions,
333
339
  ): Promise<DescribeScalingParametersCommandOutput>;
334
340
  describeScalingParameters(
335
341
  args: DescribeScalingParametersCommandInput,
@@ -337,12 +343,12 @@ export interface CloudSearch {
337
343
  ): void;
338
344
  describeScalingParameters(
339
345
  args: DescribeScalingParametersCommandInput,
340
- options: __HttpHandlerOptions,
346
+ options: CloudSearchRequestOptions,
341
347
  cb: (err: any, data?: DescribeScalingParametersCommandOutput) => void,
342
348
  ): void;
343
349
  describeServiceAccessPolicies(
344
350
  args: DescribeServiceAccessPoliciesCommandInput,
345
- options?: __HttpHandlerOptions,
351
+ options?: CloudSearchRequestOptions,
346
352
  ): Promise<DescribeServiceAccessPoliciesCommandOutput>;
347
353
  describeServiceAccessPolicies(
348
354
  args: DescribeServiceAccessPoliciesCommandInput,
@@ -350,12 +356,12 @@ export interface CloudSearch {
350
356
  ): void;
351
357
  describeServiceAccessPolicies(
352
358
  args: DescribeServiceAccessPoliciesCommandInput,
353
- options: __HttpHandlerOptions,
359
+ options: CloudSearchRequestOptions,
354
360
  cb: (err: any, data?: DescribeServiceAccessPoliciesCommandOutput) => void,
355
361
  ): void;
356
362
  describeSuggesters(
357
363
  args: DescribeSuggestersCommandInput,
358
- options?: __HttpHandlerOptions,
364
+ options?: CloudSearchRequestOptions,
359
365
  ): Promise<DescribeSuggestersCommandOutput>;
360
366
  describeSuggesters(
361
367
  args: DescribeSuggestersCommandInput,
@@ -363,12 +369,12 @@ export interface CloudSearch {
363
369
  ): void;
364
370
  describeSuggesters(
365
371
  args: DescribeSuggestersCommandInput,
366
- options: __HttpHandlerOptions,
372
+ options: CloudSearchRequestOptions,
367
373
  cb: (err: any, data?: DescribeSuggestersCommandOutput) => void,
368
374
  ): void;
369
375
  indexDocuments(
370
376
  args: IndexDocumentsCommandInput,
371
- options?: __HttpHandlerOptions,
377
+ options?: CloudSearchRequestOptions,
372
378
  ): Promise<IndexDocumentsCommandOutput>;
373
379
  indexDocuments(
374
380
  args: IndexDocumentsCommandInput,
@@ -376,13 +382,13 @@ export interface CloudSearch {
376
382
  ): void;
377
383
  indexDocuments(
378
384
  args: IndexDocumentsCommandInput,
379
- options: __HttpHandlerOptions,
385
+ options: CloudSearchRequestOptions,
380
386
  cb: (err: any, data?: IndexDocumentsCommandOutput) => void,
381
387
  ): void;
382
388
  listDomainNames(): Promise<ListDomainNamesCommandOutput>;
383
389
  listDomainNames(
384
390
  args: ListDomainNamesCommandInput,
385
- options?: __HttpHandlerOptions,
391
+ options?: CloudSearchRequestOptions,
386
392
  ): Promise<ListDomainNamesCommandOutput>;
387
393
  listDomainNames(
388
394
  args: ListDomainNamesCommandInput,
@@ -390,12 +396,12 @@ export interface CloudSearch {
390
396
  ): void;
391
397
  listDomainNames(
392
398
  args: ListDomainNamesCommandInput,
393
- options: __HttpHandlerOptions,
399
+ options: CloudSearchRequestOptions,
394
400
  cb: (err: any, data?: ListDomainNamesCommandOutput) => void,
395
401
  ): void;
396
402
  updateAvailabilityOptions(
397
403
  args: UpdateAvailabilityOptionsCommandInput,
398
- options?: __HttpHandlerOptions,
404
+ options?: CloudSearchRequestOptions,
399
405
  ): Promise<UpdateAvailabilityOptionsCommandOutput>;
400
406
  updateAvailabilityOptions(
401
407
  args: UpdateAvailabilityOptionsCommandInput,
@@ -403,12 +409,12 @@ export interface CloudSearch {
403
409
  ): void;
404
410
  updateAvailabilityOptions(
405
411
  args: UpdateAvailabilityOptionsCommandInput,
406
- options: __HttpHandlerOptions,
412
+ options: CloudSearchRequestOptions,
407
413
  cb: (err: any, data?: UpdateAvailabilityOptionsCommandOutput) => void,
408
414
  ): void;
409
415
  updateDomainEndpointOptions(
410
416
  args: UpdateDomainEndpointOptionsCommandInput,
411
- options?: __HttpHandlerOptions,
417
+ options?: CloudSearchRequestOptions,
412
418
  ): Promise<UpdateDomainEndpointOptionsCommandOutput>;
413
419
  updateDomainEndpointOptions(
414
420
  args: UpdateDomainEndpointOptionsCommandInput,
@@ -416,12 +422,12 @@ export interface CloudSearch {
416
422
  ): void;
417
423
  updateDomainEndpointOptions(
418
424
  args: UpdateDomainEndpointOptionsCommandInput,
419
- options: __HttpHandlerOptions,
425
+ options: CloudSearchRequestOptions,
420
426
  cb: (err: any, data?: UpdateDomainEndpointOptionsCommandOutput) => void,
421
427
  ): void;
422
428
  updateScalingParameters(
423
429
  args: UpdateScalingParametersCommandInput,
424
- options?: __HttpHandlerOptions,
430
+ options?: CloudSearchRequestOptions,
425
431
  ): Promise<UpdateScalingParametersCommandOutput>;
426
432
  updateScalingParameters(
427
433
  args: UpdateScalingParametersCommandInput,
@@ -429,12 +435,12 @@ export interface CloudSearch {
429
435
  ): void;
430
436
  updateScalingParameters(
431
437
  args: UpdateScalingParametersCommandInput,
432
- options: __HttpHandlerOptions,
438
+ options: CloudSearchRequestOptions,
433
439
  cb: (err: any, data?: UpdateScalingParametersCommandOutput) => void,
434
440
  ): void;
435
441
  updateServiceAccessPolicies(
436
442
  args: UpdateServiceAccessPoliciesCommandInput,
437
- options?: __HttpHandlerOptions,
443
+ options?: CloudSearchRequestOptions,
438
444
  ): Promise<UpdateServiceAccessPoliciesCommandOutput>;
439
445
  updateServiceAccessPolicies(
440
446
  args: UpdateServiceAccessPoliciesCommandInput,
@@ -442,7 +448,7 @@ export interface CloudSearch {
442
448
  ): void;
443
449
  updateServiceAccessPolicies(
444
450
  args: UpdateServiceAccessPoliciesCommandInput,
445
- options: __HttpHandlerOptions,
451
+ options: CloudSearchRequestOptions,
446
452
  cb: (err: any, data?: UpdateServiceAccessPoliciesCommandOutput) => void,
447
453
  ): void;
448
454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudsearch",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Cloudsearch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudsearch",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {