@aws-sdk/client-cloudsearch-domain 3.899.0 → 3.906.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 (2) hide show
  1. package/dist-cjs/index.js +420 -519
  2. package/package.json +37 -37
package/dist-cjs/index.js CHANGED
@@ -1,544 +1,445 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "cloudsearch",
25
+ });
10
26
  };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
32
  };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- CloudSearchDomain: () => CloudSearchDomain,
25
- CloudSearchDomainClient: () => CloudSearchDomainClient,
26
- CloudSearchDomainServiceException: () => CloudSearchDomainServiceException,
27
- ContentType: () => ContentType,
28
- DocumentServiceException: () => DocumentServiceException,
29
- QueryParser: () => QueryParser,
30
- SearchCommand: () => SearchCommand,
31
- SearchException: () => SearchException,
32
- SuggestCommand: () => SuggestCommand,
33
- UploadDocumentsCommand: () => UploadDocumentsCommand,
34
- UploadDocumentsRequestFilterSensitiveLog: () => UploadDocumentsRequestFilterSensitiveLog,
35
- __Client: () => import_smithy_client.Client
36
- });
37
- module.exports = __toCommonJS(index_exports);
38
-
39
- // src/CloudSearchDomainClient.ts
40
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
41
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
42
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
43
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
44
- var import_config_resolver = require("@smithy/config-resolver");
45
- var import_core = require("@smithy/core");
46
- var import_middleware_content_length = require("@smithy/middleware-content-length");
47
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
48
- var import_middleware_retry = require("@smithy/middleware-retry");
49
33
 
50
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
51
-
52
- // src/endpoint/EndpointParameters.ts
53
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
54
- return Object.assign(options, {
55
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
56
- useFipsEndpoint: options.useFipsEndpoint ?? false,
57
- defaultSigningName: "cloudsearch"
58
- });
59
- }, "resolveClientEndpointParameters");
60
- var commonParams = {
61
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
62
- Endpoint: { type: "builtInParams", name: "endpoint" },
63
- Region: { type: "builtInParams", name: "region" },
64
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
65
71
  };
66
72
 
67
- // src/CloudSearchDomainClient.ts
68
- var import_runtimeConfig = require("././runtimeConfig");
69
-
70
- // src/runtimeExtensions.ts
71
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
72
- var import_protocol_http = require("@smithy/protocol-http");
73
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
74
78
 
75
- // src/auth/httpAuthExtensionConfiguration.ts
76
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
77
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
78
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
79
- let _credentials = runtimeConfig.credentials;
80
- return {
81
- setHttpAuthScheme(httpAuthScheme) {
82
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
83
- if (index === -1) {
84
- _httpAuthSchemes.push(httpAuthScheme);
85
- } else {
86
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
87
- }
88
- },
89
- httpAuthSchemes() {
90
- return _httpAuthSchemes;
91
- },
92
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
93
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
94
- },
95
- httpAuthSchemeProvider() {
96
- return _httpAuthSchemeProvider;
97
- },
98
- setCredentials(credentials) {
99
- _credentials = credentials;
100
- },
101
- credentials() {
102
- return _credentials;
79
+ class CloudSearchDomainClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCloudSearchDomainHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
103
107
  }
104
- };
105
- }, "getHttpAuthExtensionConfiguration");
106
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
107
- return {
108
- httpAuthSchemes: config.httpAuthSchemes(),
109
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
110
- credentials: config.credentials()
111
- };
112
- }, "resolveHttpAuthRuntimeConfig");
113
-
114
- // src/runtimeExtensions.ts
115
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
116
- const extensionConfiguration = Object.assign(
117
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
118
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
119
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
120
- getHttpAuthExtensionConfiguration(runtimeConfig)
121
- );
122
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
123
- return Object.assign(
124
- runtimeConfig,
125
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
126
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
127
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
128
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
129
- );
130
- }, "resolveRuntimeExtensions");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
131
112
 
132
- // src/CloudSearchDomainClient.ts
133
- var CloudSearchDomainClient = class extends import_smithy_client.Client {
134
- static {
135
- __name(this, "CloudSearchDomainClient");
136
- }
137
- /**
138
- * The resolved configuration of CloudSearchDomainClient class. This is resolved and normalized from the {@link CloudSearchDomainClientConfig | constructor configuration interface}.
139
- */
140
- config;
141
- constructor(...[configuration]) {
142
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
143
- super(_config_0);
144
- this.initConfig = _config_0;
145
- const _config_1 = resolveClientEndpointParameters(_config_0);
146
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
147
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
148
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
149
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
150
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
151
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
152
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
153
- this.config = _config_8;
154
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
155
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
156
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
157
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
158
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
159
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
160
- this.middlewareStack.use(
161
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
162
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudSearchDomainHttpAuthSchemeParametersProvider,
163
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
164
- "aws.auth#sigv4": config.credentials
165
- }), "identityProviderConfigProvider")
166
- })
167
- );
168
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
169
- }
170
- /**
171
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
172
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
173
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
174
- */
175
- destroy() {
176
- super.destroy();
177
- }
113
+ class CloudSearchDomainServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class SearchException extends CloudSearchDomainServiceException {
121
+ name = "SearchException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "SearchException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, SearchException.prototype);
130
+ }
131
+ }
132
+ const QueryParser = {
133
+ dismax: "dismax",
134
+ lucene: "lucene",
135
+ simple: "simple",
136
+ structured: "structured",
178
137
  };
179
-
180
- // src/CloudSearchDomain.ts
181
-
182
-
183
- // src/commands/SearchCommand.ts
184
-
185
- var import_middleware_serde = require("@smithy/middleware-serde");
186
-
187
-
188
- // src/protocols/Aws_restJson1.ts
189
- var import_core2 = require("@aws-sdk/core");
190
-
191
-
192
-
193
- // src/models/CloudSearchDomainServiceException.ts
194
-
195
- var CloudSearchDomainServiceException = class _CloudSearchDomainServiceException extends import_smithy_client.ServiceException {
196
- static {
197
- __name(this, "CloudSearchDomainServiceException");
198
- }
199
- /**
200
- * @internal
201
- */
202
- constructor(options) {
203
- super(options);
204
- Object.setPrototypeOf(this, _CloudSearchDomainServiceException.prototype);
205
- }
138
+ class DocumentServiceException extends CloudSearchDomainServiceException {
139
+ name = "DocumentServiceException";
140
+ $fault = "client";
141
+ status;
142
+ constructor(opts) {
143
+ super({
144
+ name: "DocumentServiceException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, DocumentServiceException.prototype);
149
+ this.status = opts.status;
150
+ }
151
+ }
152
+ const ContentType = {
153
+ application_json: "application/json",
154
+ application_xml: "application/xml",
206
155
  };
156
+ const UploadDocumentsRequestFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ });
207
159
 
208
- // src/models/models_0.ts
209
- var SearchException = class _SearchException extends CloudSearchDomainServiceException {
210
- static {
211
- __name(this, "SearchException");
212
- }
213
- name = "SearchException";
214
- $fault = "client";
215
- /**
216
- * @internal
217
- */
218
- constructor(opts) {
219
- super({
220
- name: "SearchException",
221
- $fault: "client",
222
- ...opts
160
+ const se_SearchCommand = async (input, context) => {
161
+ const b = core.requestBuilder(input, context);
162
+ const headers = {};
163
+ b.bp("/2013-01-01/search");
164
+ const query = smithyClient.map({
165
+ [_f]: [, "sdk"],
166
+ [_p]: [, "true"],
167
+ [_c]: [, input[_c]],
168
+ [_e]: [, input[_e]],
169
+ [_fa]: [, input[_fa]],
170
+ [_fq]: [, input[_fQ]],
171
+ [_h]: [, input[_h]],
172
+ [_pa]: [() => input.partial !== void 0, () => input[_pa].toString()],
173
+ [_q_]: [, smithyClient.expectNonNull(input[_q], `query`)],
174
+ [_qo]: [, input[_qO]],
175
+ [_qp]: [, input[_qP]],
176
+ [_r]: [, input[_r]],
177
+ [_s]: [() => input.size !== void 0, () => input[_s].toString()],
178
+ [_so]: [, input[_so]],
179
+ [_st]: [() => input.start !== void 0, () => input[_st].toString()],
180
+ [_sta]: [, input[_sta]],
181
+ });
182
+ let body;
183
+ b.m("GET").h(headers).q(query).b(body);
184
+ return b.build();
185
+ };
186
+ const se_SuggestCommand = async (input, context) => {
187
+ const b = core.requestBuilder(input, context);
188
+ const headers = {};
189
+ b.bp("/2013-01-01/suggest");
190
+ const query = smithyClient.map({
191
+ [_f]: [, "sdk"],
192
+ [_p]: [, "true"],
193
+ [_q_]: [, smithyClient.expectNonNull(input[_q], `query`)],
194
+ [_su]: [, smithyClient.expectNonNull(input[_su], `suggester`)],
195
+ [_s]: [() => input.size !== void 0, () => input[_s].toString()],
196
+ });
197
+ let body;
198
+ b.m("GET").h(headers).q(query).b(body);
199
+ return b.build();
200
+ };
201
+ const se_UploadDocumentsCommand = async (input, context) => {
202
+ const b = core.requestBuilder(input, context);
203
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
204
+ [_ct]: input[_cT] || "application/octet-stream",
205
+ });
206
+ b.bp("/2013-01-01/documents/batch");
207
+ const query = smithyClient.map({
208
+ [_f]: [, "sdk"],
223
209
  });
224
- Object.setPrototypeOf(this, _SearchException.prototype);
225
- }
210
+ let body;
211
+ if (input.documents !== undefined) {
212
+ body = input.documents;
213
+ }
214
+ b.m("POST").h(headers).q(query).b(body);
215
+ return b.build();
226
216
  };
227
- var QueryParser = {
228
- dismax: "dismax",
229
- lucene: "lucene",
230
- simple: "simple",
231
- structured: "structured"
217
+ const de_SearchCommand = async (output, context) => {
218
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
219
+ return de_CommandError(output, context);
220
+ }
221
+ const contents = smithyClient.map({
222
+ $metadata: deserializeMetadata(output),
223
+ });
224
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
225
+ const doc = smithyClient.take(data, {
226
+ facets: smithyClient._json,
227
+ hits: smithyClient._json,
228
+ stats: (_) => de_Stats(_),
229
+ status: smithyClient._json,
230
+ });
231
+ Object.assign(contents, doc);
232
+ return contents;
232
233
  };
233
- var DocumentServiceException = class _DocumentServiceException extends CloudSearchDomainServiceException {
234
- static {
235
- __name(this, "DocumentServiceException");
236
- }
237
- name = "DocumentServiceException";
238
- $fault = "client";
239
- /**
240
- * <p>The return status of a document upload request, <code>error</code> or <code>success</code>.</p>
241
- * @public
242
- */
243
- status;
244
- /**
245
- * @internal
246
- */
247
- constructor(opts) {
248
- super({
249
- name: "DocumentServiceException",
250
- $fault: "client",
251
- ...opts
234
+ const de_SuggestCommand = async (output, context) => {
235
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
236
+ return de_CommandError(output, context);
237
+ }
238
+ const contents = smithyClient.map({
239
+ $metadata: deserializeMetadata(output),
240
+ });
241
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
242
+ const doc = smithyClient.take(data, {
243
+ status: smithyClient._json,
244
+ suggest: smithyClient._json,
252
245
  });
253
- Object.setPrototypeOf(this, _DocumentServiceException.prototype);
254
- this.status = opts.status;
255
- }
246
+ Object.assign(contents, doc);
247
+ return contents;
256
248
  };
257
- var ContentType = {
258
- application_json: "application/json",
259
- application_xml: "application/xml"
249
+ const de_UploadDocumentsCommand = async (output, context) => {
250
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
251
+ return de_CommandError(output, context);
252
+ }
253
+ const contents = smithyClient.map({
254
+ $metadata: deserializeMetadata(output),
255
+ });
256
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
257
+ const doc = smithyClient.take(data, {
258
+ adds: smithyClient.expectLong,
259
+ deletes: smithyClient.expectLong,
260
+ status: smithyClient.expectString,
261
+ warnings: smithyClient._json,
262
+ });
263
+ Object.assign(contents, doc);
264
+ return contents;
260
265
  };
261
- var UploadDocumentsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
262
- ...obj
263
- }), "UploadDocumentsRequestFilterSensitiveLog");
264
-
265
- // src/protocols/Aws_restJson1.ts
266
- var se_SearchCommand = /* @__PURE__ */ __name(async (input, context) => {
267
- const b = (0, import_core.requestBuilder)(input, context);
268
- const headers = {};
269
- b.bp("/2013-01-01/search");
270
- const query = (0, import_smithy_client.map)({
271
- [_f]: [, "sdk"],
272
- [_p]: [, "true"],
273
- [_c]: [, input[_c]],
274
- [_e]: [, input[_e]],
275
- [_fa]: [, input[_fa]],
276
- [_fq]: [, input[_fQ]],
277
- [_h]: [, input[_h]],
278
- [_pa]: [() => input.partial !== void 0, () => input[_pa].toString()],
279
- [_q_]: [, (0, import_smithy_client.expectNonNull)(input[_q], `query`)],
280
- [_qo]: [, input[_qO]],
281
- [_qp]: [, input[_qP]],
282
- [_r]: [, input[_r]],
283
- [_s]: [() => input.size !== void 0, () => input[_s].toString()],
284
- [_so]: [, input[_so]],
285
- [_st]: [() => input.start !== void 0, () => input[_st].toString()],
286
- [_sta]: [, input[_sta]]
287
- });
288
- let body;
289
- b.m("GET").h(headers).q(query).b(body);
290
- return b.build();
291
- }, "se_SearchCommand");
292
- var se_SuggestCommand = /* @__PURE__ */ __name(async (input, context) => {
293
- const b = (0, import_core.requestBuilder)(input, context);
294
- const headers = {};
295
- b.bp("/2013-01-01/suggest");
296
- const query = (0, import_smithy_client.map)({
297
- [_f]: [, "sdk"],
298
- [_p]: [, "true"],
299
- [_q_]: [, (0, import_smithy_client.expectNonNull)(input[_q], `query`)],
300
- [_su]: [, (0, import_smithy_client.expectNonNull)(input[_su], `suggester`)],
301
- [_s]: [() => input.size !== void 0, () => input[_s].toString()]
302
- });
303
- let body;
304
- b.m("GET").h(headers).q(query).b(body);
305
- return b.build();
306
- }, "se_SuggestCommand");
307
- var se_UploadDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
308
- const b = (0, import_core.requestBuilder)(input, context);
309
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
310
- [_ct]: input[_cT] || "application/octet-stream"
311
- });
312
- b.bp("/2013-01-01/documents/batch");
313
- const query = (0, import_smithy_client.map)({
314
- [_f]: [, "sdk"]
315
- });
316
- let body;
317
- if (input.documents !== void 0) {
318
- body = input.documents;
319
- }
320
- b.m("POST").h(headers).q(query).b(body);
321
- return b.build();
322
- }, "se_UploadDocumentsCommand");
323
- var de_SearchCommand = /* @__PURE__ */ __name(async (output, context) => {
324
- if (output.statusCode !== 200 && output.statusCode >= 300) {
325
- return de_CommandError(output, context);
326
- }
327
- const contents = (0, import_smithy_client.map)({
328
- $metadata: deserializeMetadata(output)
329
- });
330
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
331
- const doc = (0, import_smithy_client.take)(data, {
332
- facets: import_smithy_client._json,
333
- hits: import_smithy_client._json,
334
- stats: /* @__PURE__ */ __name((_) => de_Stats(_, context), "stats"),
335
- status: import_smithy_client._json
336
- });
337
- Object.assign(contents, doc);
338
- return contents;
339
- }, "de_SearchCommand");
340
- var de_SuggestCommand = /* @__PURE__ */ __name(async (output, context) => {
341
- if (output.statusCode !== 200 && output.statusCode >= 300) {
342
- return de_CommandError(output, context);
343
- }
344
- const contents = (0, import_smithy_client.map)({
345
- $metadata: deserializeMetadata(output)
346
- });
347
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
348
- const doc = (0, import_smithy_client.take)(data, {
349
- status: import_smithy_client._json,
350
- suggest: import_smithy_client._json
351
- });
352
- Object.assign(contents, doc);
353
- return contents;
354
- }, "de_SuggestCommand");
355
- var de_UploadDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
356
- if (output.statusCode !== 200 && output.statusCode >= 300) {
357
- return de_CommandError(output, context);
358
- }
359
- const contents = (0, import_smithy_client.map)({
360
- $metadata: deserializeMetadata(output)
361
- });
362
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
363
- const doc = (0, import_smithy_client.take)(data, {
364
- adds: import_smithy_client.expectLong,
365
- deletes: import_smithy_client.expectLong,
366
- status: import_smithy_client.expectString,
367
- warnings: import_smithy_client._json
368
- });
369
- Object.assign(contents, doc);
370
- return contents;
371
- }, "de_UploadDocumentsCommand");
372
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
373
- const parsedOutput = {
374
- ...output,
375
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
376
- };
377
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
378
- switch (errorCode) {
379
- case "SearchException":
380
- case "com.amazonaws.cloudsearchdomain#SearchException":
381
- throw await de_SearchExceptionRes(parsedOutput, context);
382
- case "DocumentServiceException":
383
- case "com.amazonaws.cloudsearchdomain#DocumentServiceException":
384
- throw await de_DocumentServiceExceptionRes(parsedOutput, context);
385
- default:
386
- const parsedBody = parsedOutput.body;
387
- return throwDefaultError({
388
- output,
389
- parsedBody,
390
- errorCode
391
- });
392
- }
393
- }, "de_CommandError");
394
- var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudSearchDomainServiceException);
395
- var de_DocumentServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
396
- const contents = (0, import_smithy_client.map)({});
397
- const data = parsedOutput.body;
398
- const doc = (0, import_smithy_client.take)(data, {
399
- message: import_smithy_client.expectString,
400
- status: import_smithy_client.expectString
401
- });
402
- Object.assign(contents, doc);
403
- const exception = new DocumentServiceException({
404
- $metadata: deserializeMetadata(parsedOutput),
405
- ...contents
406
- });
407
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
408
- }, "de_DocumentServiceExceptionRes");
409
- var de_SearchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
410
- const contents = (0, import_smithy_client.map)({});
411
- const data = parsedOutput.body;
412
- const doc = (0, import_smithy_client.take)(data, {
413
- message: import_smithy_client.expectString
414
- });
415
- Object.assign(contents, doc);
416
- const exception = new SearchException({
417
- $metadata: deserializeMetadata(parsedOutput),
418
- ...contents
419
- });
420
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
421
- }, "de_SearchExceptionRes");
422
- var de_FieldStats = /* @__PURE__ */ __name((output, context) => {
423
- return (0, import_smithy_client.take)(output, {
424
- count: import_smithy_client.expectLong,
425
- max: import_smithy_client.expectString,
426
- mean: import_smithy_client.expectString,
427
- min: import_smithy_client.expectString,
428
- missing: import_smithy_client.expectLong,
429
- stddev: import_smithy_client.limitedParseDouble,
430
- sum: import_smithy_client.limitedParseDouble,
431
- sumOfSquares: import_smithy_client.limitedParseDouble
432
- });
433
- }, "de_FieldStats");
434
- var de_Stats = /* @__PURE__ */ __name((output, context) => {
435
- return Object.entries(output).reduce((acc, [key, value]) => {
436
- if (value === null) {
437
- return acc;
266
+ const de_CommandError = async (output, context) => {
267
+ const parsedOutput = {
268
+ ...output,
269
+ body: await core$1.parseJsonErrorBody(output.body, context),
270
+ };
271
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
272
+ switch (errorCode) {
273
+ case "SearchException":
274
+ case "com.amazonaws.cloudsearchdomain#SearchException":
275
+ throw await de_SearchExceptionRes(parsedOutput);
276
+ case "DocumentServiceException":
277
+ case "com.amazonaws.cloudsearchdomain#DocumentServiceException":
278
+ throw await de_DocumentServiceExceptionRes(parsedOutput);
279
+ default:
280
+ const parsedBody = parsedOutput.body;
281
+ return throwDefaultError({
282
+ output,
283
+ parsedBody,
284
+ errorCode,
285
+ });
438
286
  }
439
- acc[key] = de_FieldStats(value, context);
440
- return acc;
441
- }, {});
442
- }, "de_Stats");
443
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
444
- httpStatusCode: output.statusCode,
445
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
446
- extendedRequestId: output.headers["x-amz-id-2"],
447
- cfId: output.headers["x-amz-cf-id"]
448
- }), "deserializeMetadata");
449
- var _c = "cursor";
450
- var _cT = "contentType";
451
- var _ct = "content-type";
452
- var _e = "expr";
453
- var _f = "format";
454
- var _fQ = "filterQuery";
455
- var _fa = "facet";
456
- var _fq = "fq";
457
- var _h = "highlight";
458
- var _p = "pretty";
459
- var _pa = "partial";
460
- var _q = "query";
461
- var _qO = "queryOptions";
462
- var _qP = "queryParser";
463
- var _q_ = "q";
464
- var _qo = "q.options";
465
- var _qp = "q.parser";
466
- var _r = "return";
467
- var _s = "size";
468
- var _so = "sort";
469
- var _st = "start";
470
- var _sta = "stats";
471
- var _su = "suggester";
472
-
473
- // src/commands/SearchCommand.ts
474
- var SearchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
475
- return [
476
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
477
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
478
- ];
479
- }).s("AmazonCloudSearch2013", "Search", {}).n("CloudSearchDomainClient", "SearchCommand").f(void 0, void 0).ser(se_SearchCommand).de(de_SearchCommand).build() {
480
- static {
481
- __name(this, "SearchCommand");
482
- }
483
287
  };
484
-
485
- // src/commands/SuggestCommand.ts
486
-
487
-
488
-
489
- var SuggestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
490
- return [
491
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
492
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
493
- ];
494
- }).s("AmazonCloudSearch2013", "Suggest", {}).n("CloudSearchDomainClient", "SuggestCommand").f(void 0, void 0).ser(se_SuggestCommand).de(de_SuggestCommand).build() {
495
- static {
496
- __name(this, "SuggestCommand");
497
- }
288
+ const throwDefaultError = smithyClient.withBaseException(CloudSearchDomainServiceException);
289
+ const de_DocumentServiceExceptionRes = async (parsedOutput, context) => {
290
+ const contents = smithyClient.map({});
291
+ const data = parsedOutput.body;
292
+ const doc = smithyClient.take(data, {
293
+ message: smithyClient.expectString,
294
+ status: smithyClient.expectString,
295
+ });
296
+ Object.assign(contents, doc);
297
+ const exception = new DocumentServiceException({
298
+ $metadata: deserializeMetadata(parsedOutput),
299
+ ...contents,
300
+ });
301
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
498
302
  };
499
-
500
- // src/commands/UploadDocumentsCommand.ts
501
-
502
-
503
-
504
- var UploadDocumentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
505
- return [
506
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
507
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
508
- ];
509
- }).s("AmazonCloudSearch2013", "UploadDocuments", {}).n("CloudSearchDomainClient", "UploadDocumentsCommand").f(UploadDocumentsRequestFilterSensitiveLog, void 0).ser(se_UploadDocumentsCommand).de(de_UploadDocumentsCommand).build() {
510
- static {
511
- __name(this, "UploadDocumentsCommand");
512
- }
303
+ const de_SearchExceptionRes = async (parsedOutput, context) => {
304
+ const contents = smithyClient.map({});
305
+ const data = parsedOutput.body;
306
+ const doc = smithyClient.take(data, {
307
+ message: smithyClient.expectString,
308
+ });
309
+ Object.assign(contents, doc);
310
+ const exception = new SearchException({
311
+ $metadata: deserializeMetadata(parsedOutput),
312
+ ...contents,
313
+ });
314
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
513
315
  };
514
-
515
- // src/CloudSearchDomain.ts
516
- var commands = {
517
- SearchCommand,
518
- SuggestCommand,
519
- UploadDocumentsCommand
316
+ const de_FieldStats = (output, context) => {
317
+ return smithyClient.take(output, {
318
+ count: smithyClient.expectLong,
319
+ max: smithyClient.expectString,
320
+ mean: smithyClient.expectString,
321
+ min: smithyClient.expectString,
322
+ missing: smithyClient.expectLong,
323
+ stddev: smithyClient.limitedParseDouble,
324
+ sum: smithyClient.limitedParseDouble,
325
+ sumOfSquares: smithyClient.limitedParseDouble,
326
+ });
520
327
  };
521
- var CloudSearchDomain = class extends CloudSearchDomainClient {
522
- static {
523
- __name(this, "CloudSearchDomain");
524
- }
328
+ const de_Stats = (output, context) => {
329
+ return Object.entries(output).reduce((acc, [key, value]) => {
330
+ if (value === null) {
331
+ return acc;
332
+ }
333
+ acc[key] = de_FieldStats(value);
334
+ return acc;
335
+ }, {});
525
336
  };
526
- (0, import_smithy_client.createAggregatedClient)(commands, CloudSearchDomain);
527
- // Annotate the CommonJS export names for ESM import in node:
528
-
529
- 0 && (module.exports = {
530
- CloudSearchDomainServiceException,
531
- __Client,
532
- CloudSearchDomainClient,
533
- CloudSearchDomain,
534
- $Command,
535
- SearchCommand,
536
- SuggestCommand,
537
- UploadDocumentsCommand,
538
- SearchException,
539
- QueryParser,
540
- DocumentServiceException,
541
- ContentType,
542
- UploadDocumentsRequestFilterSensitiveLog
337
+ const deserializeMetadata = (output) => ({
338
+ httpStatusCode: output.statusCode,
339
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
340
+ extendedRequestId: output.headers["x-amz-id-2"],
341
+ cfId: output.headers["x-amz-cf-id"],
543
342
  });
343
+ const _c = "cursor";
344
+ const _cT = "contentType";
345
+ const _ct = "content-type";
346
+ const _e = "expr";
347
+ const _f = "format";
348
+ const _fQ = "filterQuery";
349
+ const _fa = "facet";
350
+ const _fq = "fq";
351
+ const _h = "highlight";
352
+ const _p = "pretty";
353
+ const _pa = "partial";
354
+ const _q = "query";
355
+ const _qO = "queryOptions";
356
+ const _qP = "queryParser";
357
+ const _q_ = "q";
358
+ const _qo = "q.options";
359
+ const _qp = "q.parser";
360
+ const _r = "return";
361
+ const _s = "size";
362
+ const _so = "sort";
363
+ const _st = "start";
364
+ const _sta = "stats";
365
+ const _su = "suggester";
366
+
367
+ class SearchCommand extends smithyClient.Command
368
+ .classBuilder()
369
+ .ep(commonParams)
370
+ .m(function (Command, cs, config, o) {
371
+ return [
372
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
373
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
374
+ ];
375
+ })
376
+ .s("AmazonCloudSearch2013", "Search", {})
377
+ .n("CloudSearchDomainClient", "SearchCommand")
378
+ .f(void 0, void 0)
379
+ .ser(se_SearchCommand)
380
+ .de(de_SearchCommand)
381
+ .build() {
382
+ }
383
+
384
+ class SuggestCommand extends smithyClient.Command
385
+ .classBuilder()
386
+ .ep(commonParams)
387
+ .m(function (Command, cs, config, o) {
388
+ return [
389
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
390
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
391
+ ];
392
+ })
393
+ .s("AmazonCloudSearch2013", "Suggest", {})
394
+ .n("CloudSearchDomainClient", "SuggestCommand")
395
+ .f(void 0, void 0)
396
+ .ser(se_SuggestCommand)
397
+ .de(de_SuggestCommand)
398
+ .build() {
399
+ }
400
+
401
+ class UploadDocumentsCommand extends smithyClient.Command
402
+ .classBuilder()
403
+ .ep(commonParams)
404
+ .m(function (Command, cs, config, o) {
405
+ return [
406
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
407
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
408
+ ];
409
+ })
410
+ .s("AmazonCloudSearch2013", "UploadDocuments", {})
411
+ .n("CloudSearchDomainClient", "UploadDocumentsCommand")
412
+ .f(UploadDocumentsRequestFilterSensitiveLog, void 0)
413
+ .ser(se_UploadDocumentsCommand)
414
+ .de(de_UploadDocumentsCommand)
415
+ .build() {
416
+ }
417
+
418
+ const commands = {
419
+ SearchCommand,
420
+ SuggestCommand,
421
+ UploadDocumentsCommand,
422
+ };
423
+ class CloudSearchDomain extends CloudSearchDomainClient {
424
+ }
425
+ smithyClient.createAggregatedClient(commands, CloudSearchDomain);
544
426
 
427
+ Object.defineProperty(exports, "$Command", {
428
+ enumerable: true,
429
+ get: function () { return smithyClient.Command; }
430
+ });
431
+ Object.defineProperty(exports, "__Client", {
432
+ enumerable: true,
433
+ get: function () { return smithyClient.Client; }
434
+ });
435
+ exports.CloudSearchDomain = CloudSearchDomain;
436
+ exports.CloudSearchDomainClient = CloudSearchDomainClient;
437
+ exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
438
+ exports.ContentType = ContentType;
439
+ exports.DocumentServiceException = DocumentServiceException;
440
+ exports.QueryParser = QueryParser;
441
+ exports.SearchCommand = SearchCommand;
442
+ exports.SearchException = SearchException;
443
+ exports.SuggestCommand = SuggestCommand;
444
+ exports.UploadDocumentsCommand = UploadDocumentsCommand;
445
+ exports.UploadDocumentsRequestFilterSensitiveLog = UploadDocumentsRequestFilterSensitiveLog;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudsearch-domain",
3
3
  "description": "AWS SDK for JavaScript Cloudsearch Domain Client for Node.js, Browser and React Native",
4
- "version": "3.899.0",
4
+ "version": "3.906.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudsearch-domain",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.899.0",
24
- "@aws-sdk/credential-provider-node": "3.899.0",
25
- "@aws-sdk/middleware-host-header": "3.893.0",
26
- "@aws-sdk/middleware-logger": "3.893.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.899.0",
29
- "@aws-sdk/region-config-resolver": "3.893.0",
30
- "@aws-sdk/types": "3.893.0",
31
- "@aws-sdk/util-endpoints": "3.895.0",
32
- "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.899.0",
34
- "@smithy/config-resolver": "^4.2.2",
35
- "@smithy/core": "^3.13.0",
36
- "@smithy/fetch-http-handler": "^5.2.1",
37
- "@smithy/hash-node": "^4.1.1",
38
- "@smithy/invalid-dependency": "^4.1.1",
39
- "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.5",
41
- "@smithy/middleware-retry": "^4.3.1",
42
- "@smithy/middleware-serde": "^4.1.1",
43
- "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.2",
45
- "@smithy/node-http-handler": "^4.2.1",
46
- "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.5",
48
- "@smithy/types": "^4.5.0",
49
- "@smithy/url-parser": "^4.1.1",
50
- "@smithy/util-base64": "^4.1.0",
51
- "@smithy/util-body-length-browser": "^4.1.0",
52
- "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.5",
54
- "@smithy/util-defaults-mode-node": "^4.1.5",
55
- "@smithy/util-endpoints": "^3.1.2",
56
- "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.2",
58
- "@smithy/util-utf8": "^4.1.0",
23
+ "@aws-sdk/core": "3.906.0",
24
+ "@aws-sdk/credential-provider-node": "3.906.0",
25
+ "@aws-sdk/middleware-host-header": "3.901.0",
26
+ "@aws-sdk/middleware-logger": "3.901.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
+ "@aws-sdk/middleware-user-agent": "3.906.0",
29
+ "@aws-sdk/region-config-resolver": "3.901.0",
30
+ "@aws-sdk/types": "3.901.0",
31
+ "@aws-sdk/util-endpoints": "3.901.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.901.0",
33
+ "@aws-sdk/util-user-agent-node": "3.906.0",
34
+ "@smithy/config-resolver": "^4.3.0",
35
+ "@smithy/core": "^3.14.0",
36
+ "@smithy/fetch-http-handler": "^5.3.0",
37
+ "@smithy/hash-node": "^4.2.0",
38
+ "@smithy/invalid-dependency": "^4.2.0",
39
+ "@smithy/middleware-content-length": "^4.2.0",
40
+ "@smithy/middleware-endpoint": "^4.3.0",
41
+ "@smithy/middleware-retry": "^4.4.0",
42
+ "@smithy/middleware-serde": "^4.2.0",
43
+ "@smithy/middleware-stack": "^4.2.0",
44
+ "@smithy/node-config-provider": "^4.3.0",
45
+ "@smithy/node-http-handler": "^4.3.0",
46
+ "@smithy/protocol-http": "^5.3.0",
47
+ "@smithy/smithy-client": "^4.7.0",
48
+ "@smithy/types": "^4.6.0",
49
+ "@smithy/url-parser": "^4.2.0",
50
+ "@smithy/util-base64": "^4.2.0",
51
+ "@smithy/util-body-length-browser": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.2.0",
54
+ "@smithy/util-defaults-mode-node": "^4.2.0",
55
+ "@smithy/util-endpoints": "^3.2.0",
56
+ "@smithy/util-middleware": "^4.2.0",
57
+ "@smithy/util-retry": "^4.2.0",
58
+ "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },
61
61
  "devDependencies": {