@aws-sdk/client-opensearch 3.511.0 → 3.513.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/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +158 -100
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/OpenSearchClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/OpenSearchClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +6 -6
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -177,13 +177,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
177
177
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
178
178
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
179
179
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
180
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
181
180
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
182
181
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
182
|
+
var import_core = require("@smithy/core");
|
|
183
183
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
184
184
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
185
185
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
186
186
|
|
|
187
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
187
188
|
|
|
188
189
|
// src/endpoint/EndpointParameters.ts
|
|
189
190
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -208,19 +209,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
208
209
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
209
210
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
210
211
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
212
|
+
|
|
213
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
214
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
215
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
216
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
217
|
+
let _credentials = runtimeConfig.credentials;
|
|
218
|
+
return {
|
|
219
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
220
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
221
|
+
if (index === -1) {
|
|
222
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
223
|
+
} else {
|
|
224
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
httpAuthSchemes() {
|
|
228
|
+
return _httpAuthSchemes;
|
|
229
|
+
},
|
|
230
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
231
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
232
|
+
},
|
|
233
|
+
httpAuthSchemeProvider() {
|
|
234
|
+
return _httpAuthSchemeProvider;
|
|
235
|
+
},
|
|
236
|
+
setCredentials(credentials) {
|
|
237
|
+
_credentials = credentials;
|
|
238
|
+
},
|
|
239
|
+
credentials() {
|
|
240
|
+
return _credentials;
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
244
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
245
|
+
return {
|
|
246
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
247
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
248
|
+
credentials: config.credentials()
|
|
249
|
+
};
|
|
250
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
251
|
+
|
|
252
|
+
// src/runtimeExtensions.ts
|
|
211
253
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
212
254
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
213
255
|
const extensionConfiguration = {
|
|
214
256
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
215
257
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
216
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
258
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
259
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
217
260
|
};
|
|
218
261
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
219
262
|
return {
|
|
220
263
|
...runtimeConfig,
|
|
221
264
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
222
265
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
223
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
266
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
267
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
224
268
|
};
|
|
225
269
|
}, "resolveRuntimeExtensions");
|
|
226
270
|
|
|
@@ -233,8 +277,8 @@ var _OpenSearchClient = class _OpenSearchClient extends import_smithy_client.Cli
|
|
|
233
277
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
234
278
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
235
279
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
236
|
-
const _config_6 = (0,
|
|
237
|
-
const _config_7 = (0,
|
|
280
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
281
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
238
282
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
239
283
|
super(_config_8);
|
|
240
284
|
this.config = _config_8;
|
|
@@ -243,8 +287,14 @@ var _OpenSearchClient = class _OpenSearchClient extends import_smithy_client.Cli
|
|
|
243
287
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
244
288
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
245
289
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
246
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
247
290
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
291
|
+
this.middlewareStack.use(
|
|
292
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
293
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
294
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
295
|
+
})
|
|
296
|
+
);
|
|
297
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
248
298
|
}
|
|
249
299
|
/**
|
|
250
300
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -254,6 +304,14 @@ var _OpenSearchClient = class _OpenSearchClient extends import_smithy_client.Cli
|
|
|
254
304
|
destroy() {
|
|
255
305
|
super.destroy();
|
|
256
306
|
}
|
|
307
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
308
|
+
return import_httpAuthSchemeProvider.defaultOpenSearchHttpAuthSchemeParametersProvider;
|
|
309
|
+
}
|
|
310
|
+
getIdentityProviderConfigProvider() {
|
|
311
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
312
|
+
"aws.auth#sigv4": config.credentials
|
|
313
|
+
});
|
|
314
|
+
}
|
|
257
315
|
};
|
|
258
316
|
__name(_OpenSearchClient, "OpenSearchClient");
|
|
259
317
|
var OpenSearchClient = _OpenSearchClient;
|
|
@@ -268,8 +326,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
268
326
|
var import_types = require("@smithy/types");
|
|
269
327
|
|
|
270
328
|
// src/protocols/Aws_restJson1.ts
|
|
271
|
-
var
|
|
272
|
-
|
|
329
|
+
var import_core2 = require("@aws-sdk/core");
|
|
330
|
+
|
|
273
331
|
|
|
274
332
|
|
|
275
333
|
// src/models/models_0.ts
|
|
@@ -919,7 +977,7 @@ var UpdateDomainConfigRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
919
977
|
|
|
920
978
|
// src/protocols/Aws_restJson1.ts
|
|
921
979
|
var se_AcceptInboundConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
922
|
-
const b = (0,
|
|
980
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
923
981
|
const headers = {};
|
|
924
982
|
b.bp("/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept");
|
|
925
983
|
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
@@ -928,7 +986,7 @@ var se_AcceptInboundConnectionCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
928
986
|
return b.build();
|
|
929
987
|
}, "se_AcceptInboundConnectionCommand");
|
|
930
988
|
var se_AddDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
931
|
-
const b = (0,
|
|
989
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
932
990
|
const headers = {
|
|
933
991
|
"content-type": "application/json"
|
|
934
992
|
};
|
|
@@ -946,7 +1004,7 @@ var se_AddDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
946
1004
|
return b.build();
|
|
947
1005
|
}, "se_AddDataSourceCommand");
|
|
948
1006
|
var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
949
|
-
const b = (0,
|
|
1007
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
950
1008
|
const headers = {
|
|
951
1009
|
"content-type": "application/json"
|
|
952
1010
|
};
|
|
@@ -962,7 +1020,7 @@ var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
962
1020
|
return b.build();
|
|
963
1021
|
}, "se_AddTagsCommand");
|
|
964
1022
|
var se_AssociatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
965
|
-
const b = (0,
|
|
1023
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
966
1024
|
const headers = {};
|
|
967
1025
|
b.bp("/2021-01-01/packages/associate/{PackageID}/{DomainName}");
|
|
968
1026
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
@@ -972,7 +1030,7 @@ var se_AssociatePackageCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
972
1030
|
return b.build();
|
|
973
1031
|
}, "se_AssociatePackageCommand");
|
|
974
1032
|
var se_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
975
|
-
const b = (0,
|
|
1033
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
976
1034
|
const headers = {
|
|
977
1035
|
"content-type": "application/json"
|
|
978
1036
|
};
|
|
@@ -988,7 +1046,7 @@ var se_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input,
|
|
|
988
1046
|
return b.build();
|
|
989
1047
|
}, "se_AuthorizeVpcEndpointAccessCommand");
|
|
990
1048
|
var se_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
991
|
-
const b = (0,
|
|
1049
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
992
1050
|
const headers = {
|
|
993
1051
|
"content-type": "application/json"
|
|
994
1052
|
};
|
|
@@ -1004,7 +1062,7 @@ var se_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1004
1062
|
return b.build();
|
|
1005
1063
|
}, "se_CancelDomainConfigChangeCommand");
|
|
1006
1064
|
var se_CancelServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1007
|
-
const b = (0,
|
|
1065
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1008
1066
|
const headers = {
|
|
1009
1067
|
"content-type": "application/json"
|
|
1010
1068
|
};
|
|
@@ -1019,7 +1077,7 @@ var se_CancelServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1019
1077
|
return b.build();
|
|
1020
1078
|
}, "se_CancelServiceSoftwareUpdateCommand");
|
|
1021
1079
|
var se_CreateDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1022
|
-
const b = (0,
|
|
1080
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1023
1081
|
const headers = {
|
|
1024
1082
|
"content-type": "application/json"
|
|
1025
1083
|
};
|
|
@@ -1052,7 +1110,7 @@ var se_CreateDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1052
1110
|
return b.build();
|
|
1053
1111
|
}, "se_CreateDomainCommand");
|
|
1054
1112
|
var se_CreateOutboundConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1055
|
-
const b = (0,
|
|
1113
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1056
1114
|
const headers = {
|
|
1057
1115
|
"content-type": "application/json"
|
|
1058
1116
|
};
|
|
@@ -1071,7 +1129,7 @@ var se_CreateOutboundConnectionCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1071
1129
|
return b.build();
|
|
1072
1130
|
}, "se_CreateOutboundConnectionCommand");
|
|
1073
1131
|
var se_CreatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1074
|
-
const b = (0,
|
|
1132
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1075
1133
|
const headers = {
|
|
1076
1134
|
"content-type": "application/json"
|
|
1077
1135
|
};
|
|
@@ -1089,7 +1147,7 @@ var se_CreatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1089
1147
|
return b.build();
|
|
1090
1148
|
}, "se_CreatePackageCommand");
|
|
1091
1149
|
var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1092
|
-
const b = (0,
|
|
1150
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1093
1151
|
const headers = {
|
|
1094
1152
|
"content-type": "application/json"
|
|
1095
1153
|
};
|
|
@@ -1106,7 +1164,7 @@ var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1106
1164
|
return b.build();
|
|
1107
1165
|
}, "se_CreateVpcEndpointCommand");
|
|
1108
1166
|
var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1109
|
-
const b = (0,
|
|
1167
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1110
1168
|
const headers = {};
|
|
1111
1169
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}");
|
|
1112
1170
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1116,7 +1174,7 @@ var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1116
1174
|
return b.build();
|
|
1117
1175
|
}, "se_DeleteDataSourceCommand");
|
|
1118
1176
|
var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1119
|
-
const b = (0,
|
|
1177
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1120
1178
|
const headers = {};
|
|
1121
1179
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}");
|
|
1122
1180
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1125,7 +1183,7 @@ var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1125
1183
|
return b.build();
|
|
1126
1184
|
}, "se_DeleteDomainCommand");
|
|
1127
1185
|
var se_DeleteInboundConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1128
|
-
const b = (0,
|
|
1186
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1129
1187
|
const headers = {};
|
|
1130
1188
|
b.bp("/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}");
|
|
1131
1189
|
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
@@ -1134,7 +1192,7 @@ var se_DeleteInboundConnectionCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1134
1192
|
return b.build();
|
|
1135
1193
|
}, "se_DeleteInboundConnectionCommand");
|
|
1136
1194
|
var se_DeleteOutboundConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1137
|
-
const b = (0,
|
|
1195
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1138
1196
|
const headers = {};
|
|
1139
1197
|
b.bp("/2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}");
|
|
1140
1198
|
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
@@ -1143,7 +1201,7 @@ var se_DeleteOutboundConnectionCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1143
1201
|
return b.build();
|
|
1144
1202
|
}, "se_DeleteOutboundConnectionCommand");
|
|
1145
1203
|
var se_DeletePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1146
|
-
const b = (0,
|
|
1204
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1147
1205
|
const headers = {};
|
|
1148
1206
|
b.bp("/2021-01-01/packages/{PackageID}");
|
|
1149
1207
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
@@ -1152,7 +1210,7 @@ var se_DeletePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1152
1210
|
return b.build();
|
|
1153
1211
|
}, "se_DeletePackageCommand");
|
|
1154
1212
|
var se_DeleteVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1155
|
-
const b = (0,
|
|
1213
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1156
1214
|
const headers = {};
|
|
1157
1215
|
b.bp("/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}");
|
|
1158
1216
|
b.p("VpcEndpointId", () => input.VpcEndpointId, "{VpcEndpointId}", false);
|
|
@@ -1161,7 +1219,7 @@ var se_DeleteVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1161
1219
|
return b.build();
|
|
1162
1220
|
}, "se_DeleteVpcEndpointCommand");
|
|
1163
1221
|
var se_DescribeDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1164
|
-
const b = (0,
|
|
1222
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1165
1223
|
const headers = {};
|
|
1166
1224
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}");
|
|
1167
1225
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1170,7 +1228,7 @@ var se_DescribeDomainCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1170
1228
|
return b.build();
|
|
1171
1229
|
}, "se_DescribeDomainCommand");
|
|
1172
1230
|
var se_DescribeDomainAutoTunesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1173
|
-
const b = (0,
|
|
1231
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1174
1232
|
const headers = {
|
|
1175
1233
|
"content-type": "application/json"
|
|
1176
1234
|
};
|
|
@@ -1187,7 +1245,7 @@ var se_DescribeDomainAutoTunesCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1187
1245
|
return b.build();
|
|
1188
1246
|
}, "se_DescribeDomainAutoTunesCommand");
|
|
1189
1247
|
var se_DescribeDomainChangeProgressCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1190
|
-
const b = (0,
|
|
1248
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1191
1249
|
const headers = {};
|
|
1192
1250
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/progress");
|
|
1193
1251
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1199,7 +1257,7 @@ var se_DescribeDomainChangeProgressCommand = /* @__PURE__ */ __name(async (input
|
|
|
1199
1257
|
return b.build();
|
|
1200
1258
|
}, "se_DescribeDomainChangeProgressCommand");
|
|
1201
1259
|
var se_DescribeDomainConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1202
|
-
const b = (0,
|
|
1260
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1203
1261
|
const headers = {};
|
|
1204
1262
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/config");
|
|
1205
1263
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1208,7 +1266,7 @@ var se_DescribeDomainConfigCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1208
1266
|
return b.build();
|
|
1209
1267
|
}, "se_DescribeDomainConfigCommand");
|
|
1210
1268
|
var se_DescribeDomainHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1211
|
-
const b = (0,
|
|
1269
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1212
1270
|
const headers = {};
|
|
1213
1271
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/health");
|
|
1214
1272
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1217,7 +1275,7 @@ var se_DescribeDomainHealthCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1217
1275
|
return b.build();
|
|
1218
1276
|
}, "se_DescribeDomainHealthCommand");
|
|
1219
1277
|
var se_DescribeDomainNodesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1220
|
-
const b = (0,
|
|
1278
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1221
1279
|
const headers = {};
|
|
1222
1280
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/nodes");
|
|
1223
1281
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1226,7 +1284,7 @@ var se_DescribeDomainNodesCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1226
1284
|
return b.build();
|
|
1227
1285
|
}, "se_DescribeDomainNodesCommand");
|
|
1228
1286
|
var se_DescribeDomainsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1229
|
-
const b = (0,
|
|
1287
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1230
1288
|
const headers = {
|
|
1231
1289
|
"content-type": "application/json"
|
|
1232
1290
|
};
|
|
@@ -1241,7 +1299,7 @@ var se_DescribeDomainsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1241
1299
|
return b.build();
|
|
1242
1300
|
}, "se_DescribeDomainsCommand");
|
|
1243
1301
|
var se_DescribeDryRunProgressCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1244
|
-
const b = (0,
|
|
1302
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1245
1303
|
const headers = {};
|
|
1246
1304
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/dryRun");
|
|
1247
1305
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1254,7 +1312,7 @@ var se_DescribeDryRunProgressCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1254
1312
|
return b.build();
|
|
1255
1313
|
}, "se_DescribeDryRunProgressCommand");
|
|
1256
1314
|
var se_DescribeInboundConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1257
|
-
const b = (0,
|
|
1315
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1258
1316
|
const headers = {
|
|
1259
1317
|
"content-type": "application/json"
|
|
1260
1318
|
};
|
|
@@ -1271,7 +1329,7 @@ var se_DescribeInboundConnectionsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1271
1329
|
return b.build();
|
|
1272
1330
|
}, "se_DescribeInboundConnectionsCommand");
|
|
1273
1331
|
var se_DescribeInstanceTypeLimitsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1274
|
-
const b = (0,
|
|
1332
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1275
1333
|
const headers = {};
|
|
1276
1334
|
b.bp("/2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}");
|
|
1277
1335
|
b.p("InstanceType", () => input.InstanceType, "{InstanceType}", false);
|
|
@@ -1284,7 +1342,7 @@ var se_DescribeInstanceTypeLimitsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1284
1342
|
return b.build();
|
|
1285
1343
|
}, "se_DescribeInstanceTypeLimitsCommand");
|
|
1286
1344
|
var se_DescribeOutboundConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1287
|
-
const b = (0,
|
|
1345
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1288
1346
|
const headers = {
|
|
1289
1347
|
"content-type": "application/json"
|
|
1290
1348
|
};
|
|
@@ -1301,7 +1359,7 @@ var se_DescribeOutboundConnectionsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1301
1359
|
return b.build();
|
|
1302
1360
|
}, "se_DescribeOutboundConnectionsCommand");
|
|
1303
1361
|
var se_DescribePackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1304
|
-
const b = (0,
|
|
1362
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1305
1363
|
const headers = {
|
|
1306
1364
|
"content-type": "application/json"
|
|
1307
1365
|
};
|
|
@@ -1318,7 +1376,7 @@ var se_DescribePackagesCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1318
1376
|
return b.build();
|
|
1319
1377
|
}, "se_DescribePackagesCommand");
|
|
1320
1378
|
var se_DescribeReservedInstanceOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1321
|
-
const b = (0,
|
|
1379
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1322
1380
|
const headers = {};
|
|
1323
1381
|
b.bp("/2021-01-01/opensearch/reservedInstanceOfferings");
|
|
1324
1382
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1331,7 +1389,7 @@ var se_DescribeReservedInstanceOfferingsCommand = /* @__PURE__ */ __name(async (
|
|
|
1331
1389
|
return b.build();
|
|
1332
1390
|
}, "se_DescribeReservedInstanceOfferingsCommand");
|
|
1333
1391
|
var se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1334
|
-
const b = (0,
|
|
1392
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1335
1393
|
const headers = {};
|
|
1336
1394
|
b.bp("/2021-01-01/opensearch/reservedInstances");
|
|
1337
1395
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1344,7 +1402,7 @@ var se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1344
1402
|
return b.build();
|
|
1345
1403
|
}, "se_DescribeReservedInstancesCommand");
|
|
1346
1404
|
var se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1347
|
-
const b = (0,
|
|
1405
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1348
1406
|
const headers = {
|
|
1349
1407
|
"content-type": "application/json"
|
|
1350
1408
|
};
|
|
@@ -1359,7 +1417,7 @@ var se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1359
1417
|
return b.build();
|
|
1360
1418
|
}, "se_DescribeVpcEndpointsCommand");
|
|
1361
1419
|
var se_DissociatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1362
|
-
const b = (0,
|
|
1420
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1363
1421
|
const headers = {};
|
|
1364
1422
|
b.bp("/2021-01-01/packages/dissociate/{PackageID}/{DomainName}");
|
|
1365
1423
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
@@ -1369,7 +1427,7 @@ var se_DissociatePackageCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1369
1427
|
return b.build();
|
|
1370
1428
|
}, "se_DissociatePackageCommand");
|
|
1371
1429
|
var se_GetCompatibleVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1372
|
-
const b = (0,
|
|
1430
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1373
1431
|
const headers = {};
|
|
1374
1432
|
b.bp("/2021-01-01/opensearch/compatibleVersions");
|
|
1375
1433
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1380,7 +1438,7 @@ var se_GetCompatibleVersionsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1380
1438
|
return b.build();
|
|
1381
1439
|
}, "se_GetCompatibleVersionsCommand");
|
|
1382
1440
|
var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1383
|
-
const b = (0,
|
|
1441
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1384
1442
|
const headers = {};
|
|
1385
1443
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}");
|
|
1386
1444
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1390,7 +1448,7 @@ var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1390
1448
|
return b.build();
|
|
1391
1449
|
}, "se_GetDataSourceCommand");
|
|
1392
1450
|
var se_GetDomainMaintenanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1393
|
-
const b = (0,
|
|
1451
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1394
1452
|
const headers = {};
|
|
1395
1453
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance");
|
|
1396
1454
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1402,7 +1460,7 @@ var se_GetDomainMaintenanceStatusCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1402
1460
|
return b.build();
|
|
1403
1461
|
}, "se_GetDomainMaintenanceStatusCommand");
|
|
1404
1462
|
var se_GetPackageVersionHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1405
|
-
const b = (0,
|
|
1463
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1406
1464
|
const headers = {};
|
|
1407
1465
|
b.bp("/2021-01-01/packages/{PackageID}/history");
|
|
1408
1466
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
@@ -1415,7 +1473,7 @@ var se_GetPackageVersionHistoryCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1415
1473
|
return b.build();
|
|
1416
1474
|
}, "se_GetPackageVersionHistoryCommand");
|
|
1417
1475
|
var se_GetUpgradeHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1418
|
-
const b = (0,
|
|
1476
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1419
1477
|
const headers = {};
|
|
1420
1478
|
b.bp("/2021-01-01/opensearch/upgradeDomain/{DomainName}/history");
|
|
1421
1479
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1428,7 +1486,7 @@ var se_GetUpgradeHistoryCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1428
1486
|
return b.build();
|
|
1429
1487
|
}, "se_GetUpgradeHistoryCommand");
|
|
1430
1488
|
var se_GetUpgradeStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1431
|
-
const b = (0,
|
|
1489
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1432
1490
|
const headers = {};
|
|
1433
1491
|
b.bp("/2021-01-01/opensearch/upgradeDomain/{DomainName}/status");
|
|
1434
1492
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1437,7 +1495,7 @@ var se_GetUpgradeStatusCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1437
1495
|
return b.build();
|
|
1438
1496
|
}, "se_GetUpgradeStatusCommand");
|
|
1439
1497
|
var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1440
|
-
const b = (0,
|
|
1498
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1441
1499
|
const headers = {};
|
|
1442
1500
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/dataSource");
|
|
1443
1501
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1446,7 +1504,7 @@ var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1446
1504
|
return b.build();
|
|
1447
1505
|
}, "se_ListDataSourcesCommand");
|
|
1448
1506
|
var se_ListDomainMaintenancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1449
|
-
const b = (0,
|
|
1507
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1450
1508
|
const headers = {};
|
|
1451
1509
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances");
|
|
1452
1510
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1461,7 +1519,7 @@ var se_ListDomainMaintenancesCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1461
1519
|
return b.build();
|
|
1462
1520
|
}, "se_ListDomainMaintenancesCommand");
|
|
1463
1521
|
var se_ListDomainNamesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1464
|
-
const b = (0,
|
|
1522
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1465
1523
|
const headers = {};
|
|
1466
1524
|
b.bp("/2021-01-01/domain");
|
|
1467
1525
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1472,7 +1530,7 @@ var se_ListDomainNamesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1472
1530
|
return b.build();
|
|
1473
1531
|
}, "se_ListDomainNamesCommand");
|
|
1474
1532
|
var se_ListDomainsForPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1475
|
-
const b = (0,
|
|
1533
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1476
1534
|
const headers = {};
|
|
1477
1535
|
b.bp("/2021-01-01/packages/{PackageID}/domains");
|
|
1478
1536
|
b.p("PackageID", () => input.PackageID, "{PackageID}", false);
|
|
@@ -1485,7 +1543,7 @@ var se_ListDomainsForPackageCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1485
1543
|
return b.build();
|
|
1486
1544
|
}, "se_ListDomainsForPackageCommand");
|
|
1487
1545
|
var se_ListInstanceTypeDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1488
|
-
const b = (0,
|
|
1546
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1489
1547
|
const headers = {};
|
|
1490
1548
|
b.bp("/2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}");
|
|
1491
1549
|
b.p("EngineVersion", () => input.EngineVersion, "{EngineVersion}", false);
|
|
@@ -1501,7 +1559,7 @@ var se_ListInstanceTypeDetailsCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1501
1559
|
return b.build();
|
|
1502
1560
|
}, "se_ListInstanceTypeDetailsCommand");
|
|
1503
1561
|
var se_ListPackagesForDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1504
|
-
const b = (0,
|
|
1562
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1505
1563
|
const headers = {};
|
|
1506
1564
|
b.bp("/2021-01-01/domain/{DomainName}/packages");
|
|
1507
1565
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1514,7 +1572,7 @@ var se_ListPackagesForDomainCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1514
1572
|
return b.build();
|
|
1515
1573
|
}, "se_ListPackagesForDomainCommand");
|
|
1516
1574
|
var se_ListScheduledActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1517
|
-
const b = (0,
|
|
1575
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1518
1576
|
const headers = {};
|
|
1519
1577
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/scheduledActions");
|
|
1520
1578
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1527,7 +1585,7 @@ var se_ListScheduledActionsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1527
1585
|
return b.build();
|
|
1528
1586
|
}, "se_ListScheduledActionsCommand");
|
|
1529
1587
|
var se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1530
|
-
const b = (0,
|
|
1588
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1531
1589
|
const headers = {};
|
|
1532
1590
|
b.bp("/2021-01-01/tags");
|
|
1533
1591
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1538,7 +1596,7 @@ var se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1538
1596
|
return b.build();
|
|
1539
1597
|
}, "se_ListTagsCommand");
|
|
1540
1598
|
var se_ListVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1541
|
-
const b = (0,
|
|
1599
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1542
1600
|
const headers = {};
|
|
1543
1601
|
b.bp("/2021-01-01/opensearch/versions");
|
|
1544
1602
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1550,7 +1608,7 @@ var se_ListVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1550
1608
|
return b.build();
|
|
1551
1609
|
}, "se_ListVersionsCommand");
|
|
1552
1610
|
var se_ListVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1553
|
-
const b = (0,
|
|
1611
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1554
1612
|
const headers = {};
|
|
1555
1613
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess");
|
|
1556
1614
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1562,7 +1620,7 @@ var se_ListVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1562
1620
|
return b.build();
|
|
1563
1621
|
}, "se_ListVpcEndpointAccessCommand");
|
|
1564
1622
|
var se_ListVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1565
|
-
const b = (0,
|
|
1623
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1566
1624
|
const headers = {};
|
|
1567
1625
|
b.bp("/2021-01-01/opensearch/vpcEndpoints");
|
|
1568
1626
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1573,7 +1631,7 @@ var se_ListVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1573
1631
|
return b.build();
|
|
1574
1632
|
}, "se_ListVpcEndpointsCommand");
|
|
1575
1633
|
var se_ListVpcEndpointsForDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1576
|
-
const b = (0,
|
|
1634
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1577
1635
|
const headers = {};
|
|
1578
1636
|
b.bp("/2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints");
|
|
1579
1637
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
@@ -1585,7 +1643,7 @@ var se_ListVpcEndpointsForDomainCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1585
1643
|
return b.build();
|
|
1586
1644
|
}, "se_ListVpcEndpointsForDomainCommand");
|
|
1587
1645
|
var se_PurchaseReservedInstanceOfferingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1588
|
-
const b = (0,
|
|
1646
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1589
1647
|
const headers = {
|
|
1590
1648
|
"content-type": "application/json"
|
|
1591
1649
|
};
|
|
@@ -1602,7 +1660,7 @@ var se_PurchaseReservedInstanceOfferingCommand = /* @__PURE__ */ __name(async (i
|
|
|
1602
1660
|
return b.build();
|
|
1603
1661
|
}, "se_PurchaseReservedInstanceOfferingCommand");
|
|
1604
1662
|
var se_RejectInboundConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1605
|
-
const b = (0,
|
|
1663
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1606
1664
|
const headers = {};
|
|
1607
1665
|
b.bp("/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject");
|
|
1608
1666
|
b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
@@ -1611,7 +1669,7 @@ var se_RejectInboundConnectionCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1611
1669
|
return b.build();
|
|
1612
1670
|
}, "se_RejectInboundConnectionCommand");
|
|
1613
1671
|
var se_RemoveTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1614
|
-
const b = (0,
|
|
1672
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1615
1673
|
const headers = {
|
|
1616
1674
|
"content-type": "application/json"
|
|
1617
1675
|
};
|
|
@@ -1627,7 +1685,7 @@ var se_RemoveTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1627
1685
|
return b.build();
|
|
1628
1686
|
}, "se_RemoveTagsCommand");
|
|
1629
1687
|
var se_RevokeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1630
|
-
const b = (0,
|
|
1688
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1631
1689
|
const headers = {
|
|
1632
1690
|
"content-type": "application/json"
|
|
1633
1691
|
};
|
|
@@ -1643,7 +1701,7 @@ var se_RevokeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1643
1701
|
return b.build();
|
|
1644
1702
|
}, "se_RevokeVpcEndpointAccessCommand");
|
|
1645
1703
|
var se_StartDomainMaintenanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1646
|
-
const b = (0,
|
|
1704
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1647
1705
|
const headers = {
|
|
1648
1706
|
"content-type": "application/json"
|
|
1649
1707
|
};
|
|
@@ -1660,7 +1718,7 @@ var se_StartDomainMaintenanceCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1660
1718
|
return b.build();
|
|
1661
1719
|
}, "se_StartDomainMaintenanceCommand");
|
|
1662
1720
|
var se_StartServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1663
|
-
const b = (0,
|
|
1721
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1664
1722
|
const headers = {
|
|
1665
1723
|
"content-type": "application/json"
|
|
1666
1724
|
};
|
|
@@ -1677,7 +1735,7 @@ var se_StartServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1677
1735
|
return b.build();
|
|
1678
1736
|
}, "se_StartServiceSoftwareUpdateCommand");
|
|
1679
1737
|
var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1680
|
-
const b = (0,
|
|
1738
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1681
1739
|
const headers = {
|
|
1682
1740
|
"content-type": "application/json"
|
|
1683
1741
|
};
|
|
@@ -1695,7 +1753,7 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1695
1753
|
return b.build();
|
|
1696
1754
|
}, "se_UpdateDataSourceCommand");
|
|
1697
1755
|
var se_UpdateDomainConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1698
|
-
const b = (0,
|
|
1756
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1699
1757
|
const headers = {
|
|
1700
1758
|
"content-type": "application/json"
|
|
1701
1759
|
};
|
|
@@ -1728,7 +1786,7 @@ var se_UpdateDomainConfigCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1728
1786
|
return b.build();
|
|
1729
1787
|
}, "se_UpdateDomainConfigCommand");
|
|
1730
1788
|
var se_UpdatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1731
|
-
const b = (0,
|
|
1789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1732
1790
|
const headers = {
|
|
1733
1791
|
"content-type": "application/json"
|
|
1734
1792
|
};
|
|
@@ -1746,7 +1804,7 @@ var se_UpdatePackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1746
1804
|
return b.build();
|
|
1747
1805
|
}, "se_UpdatePackageCommand");
|
|
1748
1806
|
var se_UpdateScheduledActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1749
|
-
const b = (0,
|
|
1807
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1750
1808
|
const headers = {
|
|
1751
1809
|
"content-type": "application/json"
|
|
1752
1810
|
};
|
|
@@ -1765,7 +1823,7 @@ var se_UpdateScheduledActionCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1765
1823
|
return b.build();
|
|
1766
1824
|
}, "se_UpdateScheduledActionCommand");
|
|
1767
1825
|
var se_UpdateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1768
|
-
const b = (0,
|
|
1826
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1769
1827
|
const headers = {
|
|
1770
1828
|
"content-type": "application/json"
|
|
1771
1829
|
};
|
|
@@ -1781,7 +1839,7 @@ var se_UpdateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1781
1839
|
return b.build();
|
|
1782
1840
|
}, "se_UpdateVpcEndpointCommand");
|
|
1783
1841
|
var se_UpgradeDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1784
|
-
const b = (0,
|
|
1842
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1785
1843
|
const headers = {
|
|
1786
1844
|
"content-type": "application/json"
|
|
1787
1845
|
};
|
|
@@ -2308,7 +2366,7 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2308
2366
|
});
|
|
2309
2367
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2310
2368
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2311
|
-
DataSourceType: (_) => (0, import_smithy_client._json)((0,
|
|
2369
|
+
DataSourceType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2312
2370
|
Description: import_smithy_client.expectString,
|
|
2313
2371
|
Name: import_smithy_client.expectString
|
|
2314
2372
|
});
|
|
@@ -4641,60 +4699,60 @@ var OpenSearch = _OpenSearch;
|
|
|
4641
4699
|
(0, import_smithy_client.createAggregatedClient)(commands, OpenSearch);
|
|
4642
4700
|
|
|
4643
4701
|
// src/pagination/DescribeDomainAutoTunesPaginator.ts
|
|
4644
|
-
|
|
4645
|
-
var paginateDescribeDomainAutoTunes = (0,
|
|
4702
|
+
|
|
4703
|
+
var paginateDescribeDomainAutoTunes = (0, import_core.createPaginator)(OpenSearchClient, DescribeDomainAutoTunesCommand, "NextToken", "NextToken", "MaxResults");
|
|
4646
4704
|
|
|
4647
4705
|
// src/pagination/DescribeInboundConnectionsPaginator.ts
|
|
4648
|
-
|
|
4649
|
-
var paginateDescribeInboundConnections = (0,
|
|
4706
|
+
|
|
4707
|
+
var paginateDescribeInboundConnections = (0, import_core.createPaginator)(OpenSearchClient, DescribeInboundConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4650
4708
|
|
|
4651
4709
|
// src/pagination/DescribeOutboundConnectionsPaginator.ts
|
|
4652
|
-
|
|
4653
|
-
var paginateDescribeOutboundConnections = (0,
|
|
4710
|
+
|
|
4711
|
+
var paginateDescribeOutboundConnections = (0, import_core.createPaginator)(OpenSearchClient, DescribeOutboundConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4654
4712
|
|
|
4655
4713
|
// src/pagination/DescribePackagesPaginator.ts
|
|
4656
|
-
|
|
4657
|
-
var paginateDescribePackages = (0,
|
|
4714
|
+
|
|
4715
|
+
var paginateDescribePackages = (0, import_core.createPaginator)(OpenSearchClient, DescribePackagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
4658
4716
|
|
|
4659
4717
|
// src/pagination/DescribeReservedInstanceOfferingsPaginator.ts
|
|
4660
|
-
|
|
4661
|
-
var paginateDescribeReservedInstanceOfferings = (0,
|
|
4718
|
+
|
|
4719
|
+
var paginateDescribeReservedInstanceOfferings = (0, import_core.createPaginator)(OpenSearchClient, DescribeReservedInstanceOfferingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4662
4720
|
|
|
4663
4721
|
// src/pagination/DescribeReservedInstancesPaginator.ts
|
|
4664
|
-
|
|
4665
|
-
var paginateDescribeReservedInstances = (0,
|
|
4722
|
+
|
|
4723
|
+
var paginateDescribeReservedInstances = (0, import_core.createPaginator)(OpenSearchClient, DescribeReservedInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
4666
4724
|
|
|
4667
4725
|
// src/pagination/GetPackageVersionHistoryPaginator.ts
|
|
4668
|
-
|
|
4669
|
-
var paginateGetPackageVersionHistory = (0,
|
|
4726
|
+
|
|
4727
|
+
var paginateGetPackageVersionHistory = (0, import_core.createPaginator)(OpenSearchClient, GetPackageVersionHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
4670
4728
|
|
|
4671
4729
|
// src/pagination/GetUpgradeHistoryPaginator.ts
|
|
4672
|
-
|
|
4673
|
-
var paginateGetUpgradeHistory = (0,
|
|
4730
|
+
|
|
4731
|
+
var paginateGetUpgradeHistory = (0, import_core.createPaginator)(OpenSearchClient, GetUpgradeHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
4674
4732
|
|
|
4675
4733
|
// src/pagination/ListDomainMaintenancesPaginator.ts
|
|
4676
|
-
|
|
4677
|
-
var paginateListDomainMaintenances = (0,
|
|
4734
|
+
|
|
4735
|
+
var paginateListDomainMaintenances = (0, import_core.createPaginator)(OpenSearchClient, ListDomainMaintenancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
4678
4736
|
|
|
4679
4737
|
// src/pagination/ListDomainsForPackagePaginator.ts
|
|
4680
|
-
|
|
4681
|
-
var paginateListDomainsForPackage = (0,
|
|
4738
|
+
|
|
4739
|
+
var paginateListDomainsForPackage = (0, import_core.createPaginator)(OpenSearchClient, ListDomainsForPackageCommand, "NextToken", "NextToken", "MaxResults");
|
|
4682
4740
|
|
|
4683
4741
|
// src/pagination/ListInstanceTypeDetailsPaginator.ts
|
|
4684
|
-
|
|
4685
|
-
var paginateListInstanceTypeDetails = (0,
|
|
4742
|
+
|
|
4743
|
+
var paginateListInstanceTypeDetails = (0, import_core.createPaginator)(OpenSearchClient, ListInstanceTypeDetailsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4686
4744
|
|
|
4687
4745
|
// src/pagination/ListPackagesForDomainPaginator.ts
|
|
4688
|
-
|
|
4689
|
-
var paginateListPackagesForDomain = (0,
|
|
4746
|
+
|
|
4747
|
+
var paginateListPackagesForDomain = (0, import_core.createPaginator)(OpenSearchClient, ListPackagesForDomainCommand, "NextToken", "NextToken", "MaxResults");
|
|
4690
4748
|
|
|
4691
4749
|
// src/pagination/ListScheduledActionsPaginator.ts
|
|
4692
|
-
|
|
4693
|
-
var paginateListScheduledActions = (0,
|
|
4750
|
+
|
|
4751
|
+
var paginateListScheduledActions = (0, import_core.createPaginator)(OpenSearchClient, ListScheduledActionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4694
4752
|
|
|
4695
4753
|
// src/pagination/ListVersionsPaginator.ts
|
|
4696
|
-
|
|
4697
|
-
var paginateListVersions = (0,
|
|
4754
|
+
|
|
4755
|
+
var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, ListVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4698
4756
|
|
|
4699
4757
|
// src/index.ts
|
|
4700
4758
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|