@aws-sdk/client-qbusiness 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 +150 -92
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/QBusinessClient.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/QBusinessClient.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 +5 -3
- 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/QBusinessClient.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
|
@@ -148,13 +148,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
148
148
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
149
149
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
150
150
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
151
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
152
151
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
153
152
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
153
|
+
var import_core = require("@smithy/core");
|
|
154
154
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
155
155
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
156
156
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
157
157
|
|
|
158
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
158
159
|
|
|
159
160
|
// src/endpoint/EndpointParameters.ts
|
|
160
161
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -177,19 +178,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
177
178
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
178
179
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
179
180
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
181
|
+
|
|
182
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
183
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
184
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
185
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
186
|
+
let _credentials = runtimeConfig.credentials;
|
|
187
|
+
return {
|
|
188
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
189
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
190
|
+
if (index === -1) {
|
|
191
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
192
|
+
} else {
|
|
193
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
httpAuthSchemes() {
|
|
197
|
+
return _httpAuthSchemes;
|
|
198
|
+
},
|
|
199
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
200
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
201
|
+
},
|
|
202
|
+
httpAuthSchemeProvider() {
|
|
203
|
+
return _httpAuthSchemeProvider;
|
|
204
|
+
},
|
|
205
|
+
setCredentials(credentials) {
|
|
206
|
+
_credentials = credentials;
|
|
207
|
+
},
|
|
208
|
+
credentials() {
|
|
209
|
+
return _credentials;
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
213
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
214
|
+
return {
|
|
215
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
216
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
217
|
+
credentials: config.credentials()
|
|
218
|
+
};
|
|
219
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
220
|
+
|
|
221
|
+
// src/runtimeExtensions.ts
|
|
180
222
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
181
223
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
182
224
|
const extensionConfiguration = {
|
|
183
225
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
184
226
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
185
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
227
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
228
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
186
229
|
};
|
|
187
230
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
188
231
|
return {
|
|
189
232
|
...runtimeConfig,
|
|
190
233
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
191
234
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
192
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
235
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
236
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
193
237
|
};
|
|
194
238
|
}, "resolveRuntimeExtensions");
|
|
195
239
|
|
|
@@ -202,8 +246,8 @@ var _QBusinessClient = class _QBusinessClient extends import_smithy_client.Clien
|
|
|
202
246
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
203
247
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
204
248
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
205
|
-
const _config_6 = (0,
|
|
206
|
-
const _config_7 = (0,
|
|
249
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
250
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
207
251
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
208
252
|
super(_config_8);
|
|
209
253
|
this.config = _config_8;
|
|
@@ -212,8 +256,14 @@ var _QBusinessClient = class _QBusinessClient extends import_smithy_client.Clien
|
|
|
212
256
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
213
257
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
214
258
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
216
259
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
260
|
+
this.middlewareStack.use(
|
|
261
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
262
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
263
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
264
|
+
})
|
|
265
|
+
);
|
|
266
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
217
267
|
}
|
|
218
268
|
/**
|
|
219
269
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -223,6 +273,14 @@ var _QBusinessClient = class _QBusinessClient extends import_smithy_client.Clien
|
|
|
223
273
|
destroy() {
|
|
224
274
|
super.destroy();
|
|
225
275
|
}
|
|
276
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
277
|
+
return import_httpAuthSchemeProvider.defaultQBusinessHttpAuthSchemeParametersProvider;
|
|
278
|
+
}
|
|
279
|
+
getIdentityProviderConfigProvider() {
|
|
280
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
281
|
+
"aws.auth#sigv4": config.credentials
|
|
282
|
+
});
|
|
283
|
+
}
|
|
226
284
|
};
|
|
227
285
|
__name(_QBusinessClient, "QBusinessClient");
|
|
228
286
|
var QBusinessClient = _QBusinessClient;
|
|
@@ -237,8 +295,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
237
295
|
var import_types = require("@smithy/types");
|
|
238
296
|
|
|
239
297
|
// src/protocols/Aws_restJson1.ts
|
|
240
|
-
var
|
|
241
|
-
|
|
298
|
+
var import_core2 = require("@aws-sdk/core");
|
|
299
|
+
|
|
242
300
|
|
|
243
301
|
var import_uuid = require("uuid");
|
|
244
302
|
|
|
@@ -679,7 +737,7 @@ var GetApplicationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
679
737
|
|
|
680
738
|
// src/protocols/Aws_restJson1.ts
|
|
681
739
|
var se_BatchDeleteDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
682
|
-
const b = (0,
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
683
741
|
const headers = {
|
|
684
742
|
"content-type": "application/json"
|
|
685
743
|
};
|
|
@@ -697,7 +755,7 @@ var se_BatchDeleteDocumentCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
697
755
|
return b.build();
|
|
698
756
|
}, "se_BatchDeleteDocumentCommand");
|
|
699
757
|
var se_BatchPutDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
700
|
-
const b = (0,
|
|
758
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
701
759
|
const headers = {
|
|
702
760
|
"content-type": "application/json"
|
|
703
761
|
};
|
|
@@ -716,7 +774,7 @@ var se_BatchPutDocumentCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
716
774
|
return b.build();
|
|
717
775
|
}, "se_BatchPutDocumentCommand");
|
|
718
776
|
var se_ChatSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
|
-
const b = (0,
|
|
777
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
720
778
|
const headers = {
|
|
721
779
|
"content-type": "application/json"
|
|
722
780
|
};
|
|
@@ -743,7 +801,7 @@ var se_ChatSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
743
801
|
return b.build();
|
|
744
802
|
}, "se_ChatSyncCommand");
|
|
745
803
|
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
-
const b = (0,
|
|
804
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
747
805
|
const headers = {
|
|
748
806
|
"content-type": "application/json"
|
|
749
807
|
};
|
|
@@ -764,7 +822,7 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
764
822
|
return b.build();
|
|
765
823
|
}, "se_CreateApplicationCommand");
|
|
766
824
|
var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
767
|
-
const b = (0,
|
|
825
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
768
826
|
const headers = {
|
|
769
827
|
"content-type": "application/json"
|
|
770
828
|
};
|
|
@@ -789,7 +847,7 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
789
847
|
return b.build();
|
|
790
848
|
}, "se_CreateDataSourceCommand");
|
|
791
849
|
var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
792
|
-
const b = (0,
|
|
850
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
793
851
|
const headers = {
|
|
794
852
|
"content-type": "application/json"
|
|
795
853
|
};
|
|
@@ -809,7 +867,7 @@ var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
809
867
|
return b.build();
|
|
810
868
|
}, "se_CreateIndexCommand");
|
|
811
869
|
var se_CreatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
-
const b = (0,
|
|
870
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
871
|
const headers = {
|
|
814
872
|
"content-type": "application/json"
|
|
815
873
|
};
|
|
@@ -830,7 +888,7 @@ var se_CreatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
830
888
|
return b.build();
|
|
831
889
|
}, "se_CreatePluginCommand");
|
|
832
890
|
var se_CreateRetrieverCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
833
|
-
const b = (0,
|
|
891
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
834
892
|
const headers = {
|
|
835
893
|
"content-type": "application/json"
|
|
836
894
|
};
|
|
@@ -851,7 +909,7 @@ var se_CreateRetrieverCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
851
909
|
return b.build();
|
|
852
910
|
}, "se_CreateRetrieverCommand");
|
|
853
911
|
var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
854
|
-
const b = (0,
|
|
912
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
855
913
|
const headers = {
|
|
856
914
|
"content-type": "application/json"
|
|
857
915
|
};
|
|
@@ -869,7 +927,7 @@ var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
869
927
|
return b.build();
|
|
870
928
|
}, "se_CreateUserCommand");
|
|
871
929
|
var se_CreateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
872
|
-
const b = (0,
|
|
930
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
873
931
|
const headers = {
|
|
874
932
|
"content-type": "application/json"
|
|
875
933
|
};
|
|
@@ -890,7 +948,7 @@ var se_CreateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
890
948
|
return b.build();
|
|
891
949
|
}, "se_CreateWebExperienceCommand");
|
|
892
950
|
var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
893
|
-
const b = (0,
|
|
951
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
894
952
|
const headers = {};
|
|
895
953
|
b.bp("/applications/{applicationId}");
|
|
896
954
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -899,7 +957,7 @@ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
899
957
|
return b.build();
|
|
900
958
|
}, "se_DeleteApplicationCommand");
|
|
901
959
|
var se_DeleteChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
902
|
-
const b = (0,
|
|
960
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
903
961
|
const headers = {};
|
|
904
962
|
b.bp("/applications/{applicationId}/chatcontrols");
|
|
905
963
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -908,7 +966,7 @@ var se_DeleteChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (in
|
|
|
908
966
|
return b.build();
|
|
909
967
|
}, "se_DeleteChatControlsConfigurationCommand");
|
|
910
968
|
var se_DeleteConversationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
911
|
-
const b = (0,
|
|
969
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
912
970
|
const headers = {};
|
|
913
971
|
b.bp("/applications/{applicationId}/conversations/{conversationId}");
|
|
914
972
|
b.p("conversationId", () => input.conversationId, "{conversationId}", false);
|
|
@@ -921,7 +979,7 @@ var se_DeleteConversationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
921
979
|
return b.build();
|
|
922
980
|
}, "se_DeleteConversationCommand");
|
|
923
981
|
var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
924
|
-
const b = (0,
|
|
982
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
925
983
|
const headers = {};
|
|
926
984
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}");
|
|
927
985
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -932,7 +990,7 @@ var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
932
990
|
return b.build();
|
|
933
991
|
}, "se_DeleteDataSourceCommand");
|
|
934
992
|
var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
935
|
-
const b = (0,
|
|
993
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
936
994
|
const headers = {};
|
|
937
995
|
b.bp("/applications/{applicationId}/indices/{indexId}/groups/{groupName}");
|
|
938
996
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -946,7 +1004,7 @@ var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
946
1004
|
return b.build();
|
|
947
1005
|
}, "se_DeleteGroupCommand");
|
|
948
1006
|
var se_DeleteIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
949
|
-
const b = (0,
|
|
1007
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
950
1008
|
const headers = {};
|
|
951
1009
|
b.bp("/applications/{applicationId}/indices/{indexId}");
|
|
952
1010
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -956,7 +1014,7 @@ var se_DeleteIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
956
1014
|
return b.build();
|
|
957
1015
|
}, "se_DeleteIndexCommand");
|
|
958
1016
|
var se_DeletePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
959
|
-
const b = (0,
|
|
1017
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
960
1018
|
const headers = {};
|
|
961
1019
|
b.bp("/applications/{applicationId}/plugins/{pluginId}");
|
|
962
1020
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -966,7 +1024,7 @@ var se_DeletePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
966
1024
|
return b.build();
|
|
967
1025
|
}, "se_DeletePluginCommand");
|
|
968
1026
|
var se_DeleteRetrieverCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
-
const b = (0,
|
|
1027
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
970
1028
|
const headers = {};
|
|
971
1029
|
b.bp("/applications/{applicationId}/retrievers/{retrieverId}");
|
|
972
1030
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -976,7 +1034,7 @@ var se_DeleteRetrieverCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
976
1034
|
return b.build();
|
|
977
1035
|
}, "se_DeleteRetrieverCommand");
|
|
978
1036
|
var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
979
|
-
const b = (0,
|
|
1037
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
980
1038
|
const headers = {};
|
|
981
1039
|
b.bp("/applications/{applicationId}/users/{userId}");
|
|
982
1040
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -986,7 +1044,7 @@ var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
986
1044
|
return b.build();
|
|
987
1045
|
}, "se_DeleteUserCommand");
|
|
988
1046
|
var se_DeleteWebExperienceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
989
|
-
const b = (0,
|
|
1047
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
990
1048
|
const headers = {};
|
|
991
1049
|
b.bp("/applications/{applicationId}/experiences/{webExperienceId}");
|
|
992
1050
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -996,7 +1054,7 @@ var se_DeleteWebExperienceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
996
1054
|
return b.build();
|
|
997
1055
|
}, "se_DeleteWebExperienceCommand");
|
|
998
1056
|
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
999
|
-
const b = (0,
|
|
1057
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1000
1058
|
const headers = {};
|
|
1001
1059
|
b.bp("/applications/{applicationId}");
|
|
1002
1060
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1005,7 +1063,7 @@ var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1005
1063
|
return b.build();
|
|
1006
1064
|
}, "se_GetApplicationCommand");
|
|
1007
1065
|
var se_GetChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1008
|
-
const b = (0,
|
|
1066
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1009
1067
|
const headers = {};
|
|
1010
1068
|
b.bp("/applications/{applicationId}/chatcontrols");
|
|
1011
1069
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1018,7 +1076,7 @@ var se_GetChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (input
|
|
|
1018
1076
|
return b.build();
|
|
1019
1077
|
}, "se_GetChatControlsConfigurationCommand");
|
|
1020
1078
|
var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1021
|
-
const b = (0,
|
|
1079
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1022
1080
|
const headers = {};
|
|
1023
1081
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}");
|
|
1024
1082
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1029,7 +1087,7 @@ var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1029
1087
|
return b.build();
|
|
1030
1088
|
}, "se_GetDataSourceCommand");
|
|
1031
1089
|
var se_GetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1032
|
-
const b = (0,
|
|
1090
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1033
1091
|
const headers = {};
|
|
1034
1092
|
b.bp("/applications/{applicationId}/indices/{indexId}/groups/{groupName}");
|
|
1035
1093
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1043,7 +1101,7 @@ var se_GetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1043
1101
|
return b.build();
|
|
1044
1102
|
}, "se_GetGroupCommand");
|
|
1045
1103
|
var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1046
|
-
const b = (0,
|
|
1104
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1047
1105
|
const headers = {};
|
|
1048
1106
|
b.bp("/applications/{applicationId}/indices/{indexId}");
|
|
1049
1107
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1053,7 +1111,7 @@ var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1053
1111
|
return b.build();
|
|
1054
1112
|
}, "se_GetIndexCommand");
|
|
1055
1113
|
var se_GetPluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1056
|
-
const b = (0,
|
|
1114
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1057
1115
|
const headers = {};
|
|
1058
1116
|
b.bp("/applications/{applicationId}/plugins/{pluginId}");
|
|
1059
1117
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1063,7 +1121,7 @@ var se_GetPluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1063
1121
|
return b.build();
|
|
1064
1122
|
}, "se_GetPluginCommand");
|
|
1065
1123
|
var se_GetRetrieverCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1066
|
-
const b = (0,
|
|
1124
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1067
1125
|
const headers = {};
|
|
1068
1126
|
b.bp("/applications/{applicationId}/retrievers/{retrieverId}");
|
|
1069
1127
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1073,7 +1131,7 @@ var se_GetRetrieverCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1073
1131
|
return b.build();
|
|
1074
1132
|
}, "se_GetRetrieverCommand");
|
|
1075
1133
|
var se_GetUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1076
|
-
const b = (0,
|
|
1134
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1077
1135
|
const headers = {};
|
|
1078
1136
|
b.bp("/applications/{applicationId}/users/{userId}");
|
|
1079
1137
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1083,7 +1141,7 @@ var se_GetUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1083
1141
|
return b.build();
|
|
1084
1142
|
}, "se_GetUserCommand");
|
|
1085
1143
|
var se_GetWebExperienceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1086
|
-
const b = (0,
|
|
1144
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1087
1145
|
const headers = {};
|
|
1088
1146
|
b.bp("/applications/{applicationId}/experiences/{webExperienceId}");
|
|
1089
1147
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1093,7 +1151,7 @@ var se_GetWebExperienceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1093
1151
|
return b.build();
|
|
1094
1152
|
}, "se_GetWebExperienceCommand");
|
|
1095
1153
|
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1096
|
-
const b = (0,
|
|
1154
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1097
1155
|
const headers = {};
|
|
1098
1156
|
b.bp("/applications");
|
|
1099
1157
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1105,7 +1163,7 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1105
1163
|
return b.build();
|
|
1106
1164
|
}, "se_ListApplicationsCommand");
|
|
1107
1165
|
var se_ListConversationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1108
|
-
const b = (0,
|
|
1166
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1109
1167
|
const headers = {};
|
|
1110
1168
|
b.bp("/applications/{applicationId}/conversations");
|
|
1111
1169
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1119,7 +1177,7 @@ var se_ListConversationsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1119
1177
|
return b.build();
|
|
1120
1178
|
}, "se_ListConversationsCommand");
|
|
1121
1179
|
var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1122
|
-
const b = (0,
|
|
1180
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1123
1181
|
const headers = {};
|
|
1124
1182
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources");
|
|
1125
1183
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1133,7 +1191,7 @@ var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1133
1191
|
return b.build();
|
|
1134
1192
|
}, "se_ListDataSourcesCommand");
|
|
1135
1193
|
var se_ListDataSourceSyncJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1136
|
-
const b = (0,
|
|
1194
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1137
1195
|
const headers = {};
|
|
1138
1196
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs");
|
|
1139
1197
|
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
@@ -1151,7 +1209,7 @@ var se_ListDataSourceSyncJobsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1151
1209
|
return b.build();
|
|
1152
1210
|
}, "se_ListDataSourceSyncJobsCommand");
|
|
1153
1211
|
var se_ListDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1154
|
-
const b = (0,
|
|
1212
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1155
1213
|
const headers = {};
|
|
1156
1214
|
b.bp("/applications/{applicationId}/index/{indexId}/documents");
|
|
1157
1215
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1166,7 +1224,7 @@ var se_ListDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1166
1224
|
return b.build();
|
|
1167
1225
|
}, "se_ListDocumentsCommand");
|
|
1168
1226
|
var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1169
|
-
const b = (0,
|
|
1227
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1170
1228
|
const headers = {};
|
|
1171
1229
|
b.bp("/applications/{applicationId}/indices/{indexId}/groups");
|
|
1172
1230
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1185,7 +1243,7 @@ var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1185
1243
|
return b.build();
|
|
1186
1244
|
}, "se_ListGroupsCommand");
|
|
1187
1245
|
var se_ListIndicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1188
|
-
const b = (0,
|
|
1246
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1189
1247
|
const headers = {};
|
|
1190
1248
|
b.bp("/applications/{applicationId}/indices");
|
|
1191
1249
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1198,7 +1256,7 @@ var se_ListIndicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1198
1256
|
return b.build();
|
|
1199
1257
|
}, "se_ListIndicesCommand");
|
|
1200
1258
|
var se_ListMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1201
|
-
const b = (0,
|
|
1259
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1202
1260
|
const headers = {};
|
|
1203
1261
|
b.bp("/applications/{applicationId}/conversations/{conversationId}");
|
|
1204
1262
|
b.p("conversationId", () => input.conversationId, "{conversationId}", false);
|
|
@@ -1213,7 +1271,7 @@ var se_ListMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1213
1271
|
return b.build();
|
|
1214
1272
|
}, "se_ListMessagesCommand");
|
|
1215
1273
|
var se_ListPluginsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1216
|
-
const b = (0,
|
|
1274
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1217
1275
|
const headers = {};
|
|
1218
1276
|
b.bp("/applications/{applicationId}/plugins");
|
|
1219
1277
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1226,7 +1284,7 @@ var se_ListPluginsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1226
1284
|
return b.build();
|
|
1227
1285
|
}, "se_ListPluginsCommand");
|
|
1228
1286
|
var se_ListRetrieversCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1229
|
-
const b = (0,
|
|
1287
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1230
1288
|
const headers = {};
|
|
1231
1289
|
b.bp("/applications/{applicationId}/retrievers");
|
|
1232
1290
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1239,7 +1297,7 @@ var se_ListRetrieversCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1239
1297
|
return b.build();
|
|
1240
1298
|
}, "se_ListRetrieversCommand");
|
|
1241
1299
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1242
|
-
const b = (0,
|
|
1300
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1243
1301
|
const headers = {};
|
|
1244
1302
|
b.bp("/v1/tags/{resourceARN}");
|
|
1245
1303
|
b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
|
|
@@ -1248,7 +1306,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1248
1306
|
return b.build();
|
|
1249
1307
|
}, "se_ListTagsForResourceCommand");
|
|
1250
1308
|
var se_ListWebExperiencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1251
|
-
const b = (0,
|
|
1309
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1252
1310
|
const headers = {};
|
|
1253
1311
|
b.bp("/applications/{applicationId}/experiences");
|
|
1254
1312
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
@@ -1261,7 +1319,7 @@ var se_ListWebExperiencesCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1261
1319
|
return b.build();
|
|
1262
1320
|
}, "se_ListWebExperiencesCommand");
|
|
1263
1321
|
var se_PutFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1264
|
-
const b = (0,
|
|
1322
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1265
1323
|
const headers = {
|
|
1266
1324
|
"content-type": "application/json"
|
|
1267
1325
|
};
|
|
@@ -1283,7 +1341,7 @@ var se_PutFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1283
1341
|
return b.build();
|
|
1284
1342
|
}, "se_PutFeedbackCommand");
|
|
1285
1343
|
var se_PutGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1286
|
-
const b = (0,
|
|
1344
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1287
1345
|
const headers = {
|
|
1288
1346
|
"content-type": "application/json"
|
|
1289
1347
|
};
|
|
@@ -1303,7 +1361,7 @@ var se_PutGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1303
1361
|
return b.build();
|
|
1304
1362
|
}, "se_PutGroupCommand");
|
|
1305
1363
|
var se_StartDataSourceSyncJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1306
|
-
const b = (0,
|
|
1364
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1307
1365
|
const headers = {};
|
|
1308
1366
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync");
|
|
1309
1367
|
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
@@ -1314,7 +1372,7 @@ var se_StartDataSourceSyncJobCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1314
1372
|
return b.build();
|
|
1315
1373
|
}, "se_StartDataSourceSyncJobCommand");
|
|
1316
1374
|
var se_StopDataSourceSyncJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1317
|
-
const b = (0,
|
|
1375
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1318
1376
|
const headers = {};
|
|
1319
1377
|
b.bp("/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync");
|
|
1320
1378
|
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
@@ -1325,7 +1383,7 @@ var se_StopDataSourceSyncJobCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1325
1383
|
return b.build();
|
|
1326
1384
|
}, "se_StopDataSourceSyncJobCommand");
|
|
1327
1385
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1328
|
-
const b = (0,
|
|
1386
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1329
1387
|
const headers = {
|
|
1330
1388
|
"content-type": "application/json"
|
|
1331
1389
|
};
|
|
@@ -1341,7 +1399,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1341
1399
|
return b.build();
|
|
1342
1400
|
}, "se_TagResourceCommand");
|
|
1343
1401
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1344
|
-
const b = (0,
|
|
1402
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1345
1403
|
const headers = {};
|
|
1346
1404
|
b.bp("/v1/tags/{resourceARN}");
|
|
1347
1405
|
b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
|
|
@@ -1356,7 +1414,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1356
1414
|
return b.build();
|
|
1357
1415
|
}, "se_UntagResourceCommand");
|
|
1358
1416
|
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1359
|
-
const b = (0,
|
|
1417
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1360
1418
|
const headers = {
|
|
1361
1419
|
"content-type": "application/json"
|
|
1362
1420
|
};
|
|
@@ -1375,7 +1433,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1375
1433
|
return b.build();
|
|
1376
1434
|
}, "se_UpdateApplicationCommand");
|
|
1377
1435
|
var se_UpdateChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1378
|
-
const b = (0,
|
|
1436
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1379
1437
|
const headers = {
|
|
1380
1438
|
"content-type": "application/json"
|
|
1381
1439
|
};
|
|
@@ -1395,7 +1453,7 @@ var se_UpdateChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (in
|
|
|
1395
1453
|
return b.build();
|
|
1396
1454
|
}, "se_UpdateChatControlsConfigurationCommand");
|
|
1397
1455
|
var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1398
|
-
const b = (0,
|
|
1456
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1399
1457
|
const headers = {
|
|
1400
1458
|
"content-type": "application/json"
|
|
1401
1459
|
};
|
|
@@ -1419,7 +1477,7 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1419
1477
|
return b.build();
|
|
1420
1478
|
}, "se_UpdateDataSourceCommand");
|
|
1421
1479
|
var se_UpdateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1422
|
-
const b = (0,
|
|
1480
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1423
1481
|
const headers = {
|
|
1424
1482
|
"content-type": "application/json"
|
|
1425
1483
|
};
|
|
@@ -1439,7 +1497,7 @@ var se_UpdateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1439
1497
|
return b.build();
|
|
1440
1498
|
}, "se_UpdateIndexCommand");
|
|
1441
1499
|
var se_UpdatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1442
|
-
const b = (0,
|
|
1500
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1443
1501
|
const headers = {
|
|
1444
1502
|
"content-type": "application/json"
|
|
1445
1503
|
};
|
|
@@ -1459,7 +1517,7 @@ var se_UpdatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1459
1517
|
return b.build();
|
|
1460
1518
|
}, "se_UpdatePluginCommand");
|
|
1461
1519
|
var se_UpdateRetrieverCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1462
|
-
const b = (0,
|
|
1520
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1463
1521
|
const headers = {
|
|
1464
1522
|
"content-type": "application/json"
|
|
1465
1523
|
};
|
|
@@ -1478,7 +1536,7 @@ var se_UpdateRetrieverCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1478
1536
|
return b.build();
|
|
1479
1537
|
}, "se_UpdateRetrieverCommand");
|
|
1480
1538
|
var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1481
|
-
const b = (0,
|
|
1539
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1482
1540
|
const headers = {
|
|
1483
1541
|
"content-type": "application/json"
|
|
1484
1542
|
};
|
|
@@ -1496,7 +1554,7 @@ var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1496
1554
|
return b.build();
|
|
1497
1555
|
}, "se_UpdateUserCommand");
|
|
1498
1556
|
var se_UpdateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1499
|
-
const b = (0,
|
|
1557
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1500
1558
|
const headers = {
|
|
1501
1559
|
"content-type": "application/json"
|
|
1502
1560
|
};
|
|
@@ -1884,7 +1942,7 @@ var de_GetPluginCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1884
1942
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1885
1943
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1886
1944
|
applicationId: import_smithy_client.expectString,
|
|
1887
|
-
authConfiguration: (_) => (0, import_smithy_client._json)((0,
|
|
1945
|
+
authConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1888
1946
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1889
1947
|
displayName: import_smithy_client.expectString,
|
|
1890
1948
|
pluginArn: import_smithy_client.expectString,
|
|
@@ -1907,7 +1965,7 @@ var de_GetRetrieverCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1907
1965
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1908
1966
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1909
1967
|
applicationId: import_smithy_client.expectString,
|
|
1910
|
-
configuration: (_) => (0, import_smithy_client._json)((0,
|
|
1968
|
+
configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1911
1969
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1912
1970
|
displayName: import_smithy_client.expectString,
|
|
1913
1971
|
retrieverArn: import_smithy_client.expectString,
|
|
@@ -1944,7 +2002,7 @@ var de_GetWebExperienceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1944
2002
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1945
2003
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1946
2004
|
applicationId: import_smithy_client.expectString,
|
|
1947
|
-
authenticationConfiguration: (_) => (0, import_smithy_client._json)((0,
|
|
2005
|
+
authenticationConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1948
2006
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1949
2007
|
defaultEndpoint: import_smithy_client.expectString,
|
|
1950
2008
|
error: import_smithy_client._json,
|
|
@@ -2725,14 +2783,14 @@ var de_DocumentAttributeCondition = /* @__PURE__ */ __name((output, context) =>
|
|
|
2725
2783
|
return (0, import_smithy_client.take)(output, {
|
|
2726
2784
|
key: import_smithy_client.expectString,
|
|
2727
2785
|
operator: import_smithy_client.expectString,
|
|
2728
|
-
value: (_) => de_DocumentAttributeValue((0,
|
|
2786
|
+
value: (_) => de_DocumentAttributeValue((0, import_core2.awsExpectUnion)(_), context)
|
|
2729
2787
|
});
|
|
2730
2788
|
}, "de_DocumentAttributeCondition");
|
|
2731
2789
|
var de_DocumentAttributeTarget = /* @__PURE__ */ __name((output, context) => {
|
|
2732
2790
|
return (0, import_smithy_client.take)(output, {
|
|
2733
2791
|
attributeValueOperator: import_smithy_client.expectString,
|
|
2734
2792
|
key: import_smithy_client.expectString,
|
|
2735
|
-
value: (_) => de_DocumentAttributeValue((0,
|
|
2793
|
+
value: (_) => de_DocumentAttributeValue((0, import_core2.awsExpectUnion)(_), context)
|
|
2736
2794
|
});
|
|
2737
2795
|
}, "de_DocumentAttributeTarget");
|
|
2738
2796
|
var de_DocumentAttributeValue = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3951,52 +4009,52 @@ var QBusiness = _QBusiness;
|
|
|
3951
4009
|
(0, import_smithy_client.createAggregatedClient)(commands, QBusiness);
|
|
3952
4010
|
|
|
3953
4011
|
// src/pagination/GetChatControlsConfigurationPaginator.ts
|
|
3954
|
-
|
|
3955
|
-
var paginateGetChatControlsConfiguration = (0,
|
|
4012
|
+
|
|
4013
|
+
var paginateGetChatControlsConfiguration = (0, import_core.createPaginator)(QBusinessClient, GetChatControlsConfigurationCommand, "nextToken", "nextToken", "maxResults");
|
|
3956
4014
|
|
|
3957
4015
|
// src/pagination/ListApplicationsPaginator.ts
|
|
3958
|
-
|
|
3959
|
-
var paginateListApplications = (0,
|
|
4016
|
+
|
|
4017
|
+
var paginateListApplications = (0, import_core.createPaginator)(QBusinessClient, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3960
4018
|
|
|
3961
4019
|
// src/pagination/ListConversationsPaginator.ts
|
|
3962
|
-
|
|
3963
|
-
var paginateListConversations = (0,
|
|
4020
|
+
|
|
4021
|
+
var paginateListConversations = (0, import_core.createPaginator)(QBusinessClient, ListConversationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3964
4022
|
|
|
3965
4023
|
// src/pagination/ListDataSourceSyncJobsPaginator.ts
|
|
3966
|
-
|
|
3967
|
-
var paginateListDataSourceSyncJobs = (0,
|
|
4024
|
+
|
|
4025
|
+
var paginateListDataSourceSyncJobs = (0, import_core.createPaginator)(QBusinessClient, ListDataSourceSyncJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
3968
4026
|
|
|
3969
4027
|
// src/pagination/ListDataSourcesPaginator.ts
|
|
3970
|
-
|
|
3971
|
-
var paginateListDataSources = (0,
|
|
4028
|
+
|
|
4029
|
+
var paginateListDataSources = (0, import_core.createPaginator)(QBusinessClient, ListDataSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
3972
4030
|
|
|
3973
4031
|
// src/pagination/ListDocumentsPaginator.ts
|
|
3974
|
-
|
|
3975
|
-
var paginateListDocuments = (0,
|
|
4032
|
+
|
|
4033
|
+
var paginateListDocuments = (0, import_core.createPaginator)(QBusinessClient, ListDocumentsCommand, "nextToken", "nextToken", "maxResults");
|
|
3976
4034
|
|
|
3977
4035
|
// src/pagination/ListGroupsPaginator.ts
|
|
3978
|
-
|
|
3979
|
-
var paginateListGroups = (0,
|
|
4036
|
+
|
|
4037
|
+
var paginateListGroups = (0, import_core.createPaginator)(QBusinessClient, ListGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
3980
4038
|
|
|
3981
4039
|
// src/pagination/ListIndicesPaginator.ts
|
|
3982
|
-
|
|
3983
|
-
var paginateListIndices = (0,
|
|
4040
|
+
|
|
4041
|
+
var paginateListIndices = (0, import_core.createPaginator)(QBusinessClient, ListIndicesCommand, "nextToken", "nextToken", "maxResults");
|
|
3984
4042
|
|
|
3985
4043
|
// src/pagination/ListMessagesPaginator.ts
|
|
3986
|
-
|
|
3987
|
-
var paginateListMessages = (0,
|
|
4044
|
+
|
|
4045
|
+
var paginateListMessages = (0, import_core.createPaginator)(QBusinessClient, ListMessagesCommand, "nextToken", "nextToken", "maxResults");
|
|
3988
4046
|
|
|
3989
4047
|
// src/pagination/ListPluginsPaginator.ts
|
|
3990
|
-
|
|
3991
|
-
var paginateListPlugins = (0,
|
|
4048
|
+
|
|
4049
|
+
var paginateListPlugins = (0, import_core.createPaginator)(QBusinessClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults");
|
|
3992
4050
|
|
|
3993
4051
|
// src/pagination/ListRetrieversPaginator.ts
|
|
3994
|
-
|
|
3995
|
-
var paginateListRetrievers = (0,
|
|
4052
|
+
|
|
4053
|
+
var paginateListRetrievers = (0, import_core.createPaginator)(QBusinessClient, ListRetrieversCommand, "nextToken", "nextToken", "maxResults");
|
|
3996
4054
|
|
|
3997
4055
|
// src/pagination/ListWebExperiencesPaginator.ts
|
|
3998
|
-
|
|
3999
|
-
var paginateListWebExperiences = (0,
|
|
4056
|
+
|
|
4057
|
+
var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClient, ListWebExperiencesCommand, "nextToken", "nextToken", "maxResults");
|
|
4000
4058
|
|
|
4001
4059
|
// src/index.ts
|
|
4002
4060
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|