superposition-provider 0.91.2 → 0.93.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/experimentation-client.d.ts +4 -3
- package/dist/index.esm.js +747 -356
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +747 -356
- package/dist/index.js.map +1 -1
- package/dist/native-lib/libsuperposition_core-aarch64-apple-darwin.dylib +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-apple-darwin.dylib +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-pc-windows-msvc.dll +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-unknown-linux-gnu.so +0 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8337,7 +8337,7 @@ var require$$8 = /*@__PURE__*/getAugmentedNamespace(distEs$a);
|
|
|
8337
8337
|
|
|
8338
8338
|
var runtimeConfig_shared = {};
|
|
8339
8339
|
|
|
8340
|
-
var require$$
|
|
8340
|
+
var require$$71 = /*@__PURE__*/getAugmentedNamespace(distEs$f);
|
|
8341
8341
|
|
|
8342
8342
|
function parseQueryString(querystring) {
|
|
8343
8343
|
const query = {};
|
|
@@ -8401,7 +8401,7 @@ function requireRuntimeConfig_shared () {
|
|
|
8401
8401
|
runtimeConfig_shared.getRuntimeConfig = void 0;
|
|
8402
8402
|
const httpAuthSchemeProvider_1 = requireHttpAuthSchemeProvider();
|
|
8403
8403
|
const core_1 = require$$3$3;
|
|
8404
|
-
const smithy_client_1 = require$$
|
|
8404
|
+
const smithy_client_1 = require$$71;
|
|
8405
8405
|
const url_parser_1 = require$$3$1;
|
|
8406
8406
|
const util_base64_1 = require$$4$1;
|
|
8407
8407
|
const util_utf8_1 = require$$5$1;
|
|
@@ -8705,9 +8705,9 @@ function requireRuntimeConfig () {
|
|
|
8705
8705
|
const util_body_length_node_1 = require$$7$1;
|
|
8706
8706
|
const util_retry_1 = require$$8;
|
|
8707
8707
|
const runtimeConfig_shared_1 = requireRuntimeConfig_shared();
|
|
8708
|
-
const smithy_client_1 = require$$
|
|
8708
|
+
const smithy_client_1 = require$$71;
|
|
8709
8709
|
const util_defaults_mode_node_1 = require$$11;
|
|
8710
|
-
const smithy_client_2 = require$$
|
|
8710
|
+
const smithy_client_2 = require$$71;
|
|
8711
8711
|
const getRuntimeConfig = (config) => {
|
|
8712
8712
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
8713
8713
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
@@ -8798,7 +8798,7 @@ function requireRuntimeExtensions () {
|
|
|
8798
8798
|
runtimeExtensions.resolveRuntimeExtensions = void 0;
|
|
8799
8799
|
const httpAuthExtensionConfiguration_1 = requireHttpAuthExtensionConfiguration();
|
|
8800
8800
|
const protocol_http_1 = require$$1$1;
|
|
8801
|
-
const smithy_client_1 = require$$
|
|
8801
|
+
const smithy_client_1 = require$$71;
|
|
8802
8802
|
const asPartial = (t) => t;
|
|
8803
8803
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8804
8804
|
const extensionConfiguration = {
|
|
@@ -9027,7 +9027,7 @@ function requireSuperpositionClient () {
|
|
|
9027
9027
|
const core_1 = require$$3$3;
|
|
9028
9028
|
const middleware_content_length_1 = require$$9;
|
|
9029
9029
|
const middleware_retry_1 = require$$10;
|
|
9030
|
-
const smithy_client_1 = require$$
|
|
9030
|
+
const smithy_client_1 = require$$71;
|
|
9031
9031
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
9032
9032
|
class SuperpositionClient extends smithy_client_1.Client {
|
|
9033
9033
|
config;
|
|
@@ -9079,7 +9079,7 @@ function requireSuperpositionServiceException () {
|
|
|
9079
9079
|
(function (exports) {
|
|
9080
9080
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9081
9081
|
exports.SuperpositionServiceException = exports.__ServiceException = void 0;
|
|
9082
|
-
const smithy_client_1 = require$$
|
|
9082
|
+
const smithy_client_1 = require$$71;
|
|
9083
9083
|
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
9084
9084
|
class SuperpositionServiceException extends smithy_client_1.ServiceException {
|
|
9085
9085
|
constructor(options) {
|
|
@@ -9100,7 +9100,7 @@ function requireModels_0 () {
|
|
|
9100
9100
|
if (hasRequiredModels_0) return models_0;
|
|
9101
9101
|
hasRequiredModels_0 = 1;
|
|
9102
9102
|
Object.defineProperty(models_0, "__esModule", { value: true });
|
|
9103
|
-
models_0.
|
|
9103
|
+
models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionTypes = models_0.ContextFilterSortOn = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.DimensionType = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.SortBy = models_0.AuditAction = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
|
|
9104
9104
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9105
9105
|
models_0.GroupType = {
|
|
9106
9106
|
SYSTEM_GENERATED: "SYSTEM_GENERATED",
|
|
@@ -9136,6 +9136,15 @@ function requireModels_0 () {
|
|
|
9136
9136
|
CONTROL: "CONTROL",
|
|
9137
9137
|
EXPERIMENTAL: "EXPERIMENTAL",
|
|
9138
9138
|
};
|
|
9139
|
+
models_0.AuditAction = {
|
|
9140
|
+
DELETE: "DELETE",
|
|
9141
|
+
INSERT: "INSERT",
|
|
9142
|
+
UPDATE: "UPDATE",
|
|
9143
|
+
};
|
|
9144
|
+
models_0.SortBy = {
|
|
9145
|
+
ASC: "asc",
|
|
9146
|
+
DESC: "desc",
|
|
9147
|
+
};
|
|
9139
9148
|
var ContextIdentifier;
|
|
9140
9149
|
(function (ContextIdentifier) {
|
|
9141
9150
|
ContextIdentifier.visit = (value, visitor) => {
|
|
@@ -9202,26 +9211,22 @@ function requireModels_0 () {
|
|
|
9202
9211
|
REPLACE: "REPLACE",
|
|
9203
9212
|
};
|
|
9204
9213
|
models_0.DimensionMatchStrategy = {
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
};
|
|
9208
|
-
models_0.SortBy = {
|
|
9209
|
-
Asc: "asc",
|
|
9210
|
-
Desc: "desc",
|
|
9214
|
+
EXACT: "exact",
|
|
9215
|
+
SUBSET: "subset",
|
|
9211
9216
|
};
|
|
9212
9217
|
models_0.ContextFilterSortOn = {
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9218
|
+
CREATED_AT: "created_at",
|
|
9219
|
+
LAST_MODIFIED_AT: "last_modified_at",
|
|
9220
|
+
WEIGHT: "weight",
|
|
9216
9221
|
};
|
|
9217
9222
|
models_0.FunctionTypes = {
|
|
9218
|
-
|
|
9219
|
-
|
|
9223
|
+
AUTOCOMPLETE: "AUTOCOMPLETE",
|
|
9224
|
+
VALIDATION: "VALIDATION",
|
|
9220
9225
|
};
|
|
9221
9226
|
models_0.OrgStatus = {
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9227
|
+
ACTIVE: "Active",
|
|
9228
|
+
INACTIVE: "Inactive",
|
|
9229
|
+
PENDING_KYB: "PendingKyb",
|
|
9225
9230
|
};
|
|
9226
9231
|
models_0.HttpMethod = {
|
|
9227
9232
|
DELETE: "DELETE",
|
|
@@ -9238,40 +9243,14 @@ function requireModels_0 () {
|
|
|
9238
9243
|
DISABLED: "DISABLED",
|
|
9239
9244
|
ENABLED: "ENABLED",
|
|
9240
9245
|
};
|
|
9241
|
-
class FunctionNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
|
|
9242
|
-
name = "FunctionNotFound";
|
|
9243
|
-
$fault = "client";
|
|
9244
|
-
constructor(opts) {
|
|
9245
|
-
super({
|
|
9246
|
-
name: "FunctionNotFound",
|
|
9247
|
-
$fault: "client",
|
|
9248
|
-
...opts
|
|
9249
|
-
});
|
|
9250
|
-
Object.setPrototypeOf(this, FunctionNotFound.prototype);
|
|
9251
|
-
}
|
|
9252
|
-
}
|
|
9253
|
-
models_0.FunctionNotFound = FunctionNotFound;
|
|
9254
|
-
class TypeTemplatesNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
|
|
9255
|
-
name = "TypeTemplatesNotFound";
|
|
9256
|
-
$fault = "client";
|
|
9257
|
-
constructor(opts) {
|
|
9258
|
-
super({
|
|
9259
|
-
name: "TypeTemplatesNotFound",
|
|
9260
|
-
$fault: "client",
|
|
9261
|
-
...opts
|
|
9262
|
-
});
|
|
9263
|
-
Object.setPrototypeOf(this, TypeTemplatesNotFound.prototype);
|
|
9264
|
-
}
|
|
9265
|
-
}
|
|
9266
|
-
models_0.TypeTemplatesNotFound = TypeTemplatesNotFound;
|
|
9267
9246
|
models_0.ExperimentGroupSortOn = {
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9247
|
+
CREATED_AT: "created_at",
|
|
9248
|
+
LAST_MODIFIED_AT: "last_modified_at",
|
|
9249
|
+
NAME: "name",
|
|
9271
9250
|
};
|
|
9272
9251
|
models_0.ExperimentSortOn = {
|
|
9273
|
-
|
|
9274
|
-
|
|
9252
|
+
CREATED_AT: "created_at",
|
|
9253
|
+
LAST_MODIFIED_AT: "last_modified_at",
|
|
9275
9254
|
};
|
|
9276
9255
|
var FunctionExecutionRequest;
|
|
9277
9256
|
(function (FunctionExecutionRequest) {
|
|
@@ -9287,45 +9266,6 @@ function requireModels_0 () {
|
|
|
9287
9266
|
DRAFT: "draft",
|
|
9288
9267
|
PUBLISHED: "published",
|
|
9289
9268
|
};
|
|
9290
|
-
class OrganisationNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
|
|
9291
|
-
name = "OrganisationNotFound";
|
|
9292
|
-
$fault = "client";
|
|
9293
|
-
constructor(opts) {
|
|
9294
|
-
super({
|
|
9295
|
-
name: "OrganisationNotFound",
|
|
9296
|
-
$fault: "client",
|
|
9297
|
-
...opts
|
|
9298
|
-
});
|
|
9299
|
-
Object.setPrototypeOf(this, OrganisationNotFound.prototype);
|
|
9300
|
-
}
|
|
9301
|
-
}
|
|
9302
|
-
models_0.OrganisationNotFound = OrganisationNotFound;
|
|
9303
|
-
class WebhookNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
|
|
9304
|
-
name = "WebhookNotFound";
|
|
9305
|
-
$fault = "client";
|
|
9306
|
-
constructor(opts) {
|
|
9307
|
-
super({
|
|
9308
|
-
name: "WebhookNotFound",
|
|
9309
|
-
$fault: "client",
|
|
9310
|
-
...opts
|
|
9311
|
-
});
|
|
9312
|
-
Object.setPrototypeOf(this, WebhookNotFound.prototype);
|
|
9313
|
-
}
|
|
9314
|
-
}
|
|
9315
|
-
models_0.WebhookNotFound = WebhookNotFound;
|
|
9316
|
-
class WorkspaceNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
|
|
9317
|
-
name = "WorkspaceNotFound";
|
|
9318
|
-
$fault = "client";
|
|
9319
|
-
constructor(opts) {
|
|
9320
|
-
super({
|
|
9321
|
-
name: "WorkspaceNotFound",
|
|
9322
|
-
$fault: "client",
|
|
9323
|
-
...opts
|
|
9324
|
-
});
|
|
9325
|
-
Object.setPrototypeOf(this, WorkspaceNotFound.prototype);
|
|
9326
|
-
}
|
|
9327
|
-
}
|
|
9328
|
-
models_0.WorkspaceNotFound = WorkspaceNotFound;
|
|
9329
9269
|
return models_0;
|
|
9330
9270
|
}
|
|
9331
9271
|
|
|
@@ -9337,19 +9277,19 @@ function requireAws_restJson1 () {
|
|
|
9337
9277
|
if (hasRequiredAws_restJson1) return Aws_restJson1;
|
|
9338
9278
|
hasRequiredAws_restJson1 = 1;
|
|
9339
9279
|
Object.defineProperty(Aws_restJson1, "__esModule", { value: true });
|
|
9340
|
-
Aws_restJson1.
|
|
9341
|
-
Aws_restJson1.
|
|
9342
|
-
Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_UpdateWorkspaceCommand = Aws_restJson1.de_UpdateWebhookCommand = Aws_restJson1.de_UpdateTypeTemplatesCommand = Aws_restJson1.de_UpdateOverridesExperimentCommand = Aws_restJson1.de_UpdateOverrideCommand = Aws_restJson1.de_UpdateOrganisationCommand = Aws_restJson1.de_UpdateFunctionCommand = Aws_restJson1.de_UpdateExperimentGroupCommand = Aws_restJson1.de_UpdateDimensionCommand = Aws_restJson1.de_UpdateDefaultConfigCommand = Aws_restJson1.de_TestCommand = Aws_restJson1.de_ResumeExperimentCommand = Aws_restJson1.de_RemoveMembersFromGroupCommand = Aws_restJson1.de_RampExperimentCommand = Aws_restJson1.de_PublishCommand = Aws_restJson1.de_PauseExperimentCommand = Aws_restJson1.de_MoveContextCommand = Aws_restJson1.de_MigrateWorkspaceSchemaCommand = Aws_restJson1.de_ListWorkspaceCommand = Aws_restJson1.de_ListWebhookCommand = Aws_restJson1.de_ListVersionsCommand = Aws_restJson1.de_ListOrganisationCommand = Aws_restJson1.de_ListFunctionCommand = Aws_restJson1.de_ListExperimentGroupsCommand = Aws_restJson1.de_ListExperimentCommand = void 0;
|
|
9280
|
+
Aws_restJson1.se_ListWorkspaceCommand = Aws_restJson1.se_ListWebhookCommand = Aws_restJson1.se_ListVersionsCommand = Aws_restJson1.se_ListOrganisationCommand = Aws_restJson1.se_ListFunctionCommand = Aws_restJson1.se_ListExperimentGroupsCommand = Aws_restJson1.se_ListExperimentCommand = Aws_restJson1.se_ListDimensionsCommand = Aws_restJson1.se_ListDefaultConfigsCommand = Aws_restJson1.se_ListContextsCommand = Aws_restJson1.se_ListAuditLogsCommand = Aws_restJson1.se_GetWorkspaceCommand = Aws_restJson1.se_GetWebhookByEventCommand = Aws_restJson1.se_GetWebhookCommand = Aws_restJson1.se_GetVersionCommand = Aws_restJson1.se_GetTypeTemplatesListCommand = Aws_restJson1.se_GetTypeTemplateCommand = Aws_restJson1.se_GetResolvedConfigCommand = Aws_restJson1.se_GetOrganisationCommand = Aws_restJson1.se_GetFunctionCommand = Aws_restJson1.se_GetExperimentGroupCommand = Aws_restJson1.se_GetExperimentCommand = Aws_restJson1.se_GetDimensionCommand = Aws_restJson1.se_GetDefaultConfigCommand = Aws_restJson1.se_GetContextFromConditionCommand = Aws_restJson1.se_GetContextCommand = Aws_restJson1.se_GetConfigFastCommand = Aws_restJson1.se_GetConfigCommand = Aws_restJson1.se_DiscardExperimentCommand = Aws_restJson1.se_DeleteWebhookCommand = Aws_restJson1.se_DeleteTypeTemplatesCommand = Aws_restJson1.se_DeleteFunctionCommand = Aws_restJson1.se_DeleteExperimentGroupCommand = Aws_restJson1.se_DeleteDimensionCommand = Aws_restJson1.se_DeleteDefaultConfigCommand = Aws_restJson1.se_DeleteContextCommand = Aws_restJson1.se_CreateWorkspaceCommand = Aws_restJson1.se_CreateWebhookCommand = Aws_restJson1.se_CreateTypeTemplatesCommand = Aws_restJson1.se_CreateOrganisationCommand = Aws_restJson1.se_CreateFunctionCommand = Aws_restJson1.se_CreateExperimentGroupCommand = Aws_restJson1.se_CreateExperimentCommand = Aws_restJson1.se_CreateDimensionCommand = Aws_restJson1.se_CreateDefaultConfigCommand = Aws_restJson1.se_CreateContextCommand = Aws_restJson1.se_ConcludeExperimentCommand = Aws_restJson1.se_BulkOperationCommand = Aws_restJson1.se_ApplicableVariantsCommand = Aws_restJson1.se_AddMembersToGroupCommand = void 0;
|
|
9281
|
+
Aws_restJson1.de_GetExperimentGroupCommand = Aws_restJson1.de_GetExperimentCommand = Aws_restJson1.de_GetDimensionCommand = Aws_restJson1.de_GetDefaultConfigCommand = Aws_restJson1.de_GetContextFromConditionCommand = Aws_restJson1.de_GetContextCommand = Aws_restJson1.de_GetConfigFastCommand = Aws_restJson1.de_GetConfigCommand = Aws_restJson1.de_DiscardExperimentCommand = Aws_restJson1.de_DeleteWebhookCommand = Aws_restJson1.de_DeleteTypeTemplatesCommand = Aws_restJson1.de_DeleteFunctionCommand = Aws_restJson1.de_DeleteExperimentGroupCommand = Aws_restJson1.de_DeleteDimensionCommand = Aws_restJson1.de_DeleteDefaultConfigCommand = Aws_restJson1.de_DeleteContextCommand = Aws_restJson1.de_CreateWorkspaceCommand = Aws_restJson1.de_CreateWebhookCommand = Aws_restJson1.de_CreateTypeTemplatesCommand = Aws_restJson1.de_CreateOrganisationCommand = Aws_restJson1.de_CreateFunctionCommand = Aws_restJson1.de_CreateExperimentGroupCommand = Aws_restJson1.de_CreateExperimentCommand = Aws_restJson1.de_CreateDimensionCommand = Aws_restJson1.de_CreateDefaultConfigCommand = Aws_restJson1.de_CreateContextCommand = Aws_restJson1.de_ConcludeExperimentCommand = Aws_restJson1.de_BulkOperationCommand = Aws_restJson1.de_ApplicableVariantsCommand = Aws_restJson1.de_AddMembersToGroupCommand = Aws_restJson1.se_WeightRecomputeCommand = Aws_restJson1.se_ValidateContextCommand = Aws_restJson1.se_UpdateWorkspaceCommand = Aws_restJson1.se_UpdateWebhookCommand = Aws_restJson1.se_UpdateTypeTemplatesCommand = Aws_restJson1.se_UpdateOverridesExperimentCommand = Aws_restJson1.se_UpdateOverrideCommand = Aws_restJson1.se_UpdateOrganisationCommand = Aws_restJson1.se_UpdateFunctionCommand = Aws_restJson1.se_UpdateExperimentGroupCommand = Aws_restJson1.se_UpdateDimensionCommand = Aws_restJson1.se_UpdateDefaultConfigCommand = Aws_restJson1.se_TestCommand = Aws_restJson1.se_ResumeExperimentCommand = Aws_restJson1.se_RemoveMembersFromGroupCommand = Aws_restJson1.se_RampExperimentCommand = Aws_restJson1.se_PublishCommand = Aws_restJson1.se_PauseExperimentCommand = Aws_restJson1.se_MoveContextCommand = Aws_restJson1.se_MigrateWorkspaceSchemaCommand = void 0;
|
|
9282
|
+
Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_ValidateContextCommand = Aws_restJson1.de_UpdateWorkspaceCommand = Aws_restJson1.de_UpdateWebhookCommand = Aws_restJson1.de_UpdateTypeTemplatesCommand = Aws_restJson1.de_UpdateOverridesExperimentCommand = Aws_restJson1.de_UpdateOverrideCommand = Aws_restJson1.de_UpdateOrganisationCommand = Aws_restJson1.de_UpdateFunctionCommand = Aws_restJson1.de_UpdateExperimentGroupCommand = Aws_restJson1.de_UpdateDimensionCommand = Aws_restJson1.de_UpdateDefaultConfigCommand = Aws_restJson1.de_TestCommand = Aws_restJson1.de_ResumeExperimentCommand = Aws_restJson1.de_RemoveMembersFromGroupCommand = Aws_restJson1.de_RampExperimentCommand = Aws_restJson1.de_PublishCommand = Aws_restJson1.de_PauseExperimentCommand = Aws_restJson1.de_MoveContextCommand = Aws_restJson1.de_MigrateWorkspaceSchemaCommand = Aws_restJson1.de_ListWorkspaceCommand = Aws_restJson1.de_ListWebhookCommand = Aws_restJson1.de_ListVersionsCommand = Aws_restJson1.de_ListOrganisationCommand = Aws_restJson1.de_ListFunctionCommand = Aws_restJson1.de_ListExperimentGroupsCommand = Aws_restJson1.de_ListExperimentCommand = Aws_restJson1.de_ListDimensionsCommand = Aws_restJson1.de_ListDefaultConfigsCommand = Aws_restJson1.de_ListContextsCommand = Aws_restJson1.de_ListAuditLogsCommand = Aws_restJson1.de_GetWorkspaceCommand = Aws_restJson1.de_GetWebhookByEventCommand = Aws_restJson1.de_GetWebhookCommand = Aws_restJson1.de_GetVersionCommand = Aws_restJson1.de_GetTypeTemplatesListCommand = Aws_restJson1.de_GetTypeTemplateCommand = Aws_restJson1.de_GetResolvedConfigCommand = Aws_restJson1.de_GetOrganisationCommand = Aws_restJson1.de_GetFunctionCommand = void 0;
|
|
9343
9283
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9344
9284
|
const models_0_1 = requireModels_0();
|
|
9345
9285
|
const core_1 = require$$2;
|
|
9346
9286
|
const core_2 = require$$3$3;
|
|
9347
|
-
const smithy_client_1 = require$$
|
|
9287
|
+
const smithy_client_1 = require$$71;
|
|
9348
9288
|
const se_AddMembersToGroupCommand = async (input, context) => {
|
|
9349
9289
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9350
9290
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9351
9291
|
'content-type': 'application/json',
|
|
9352
|
-
[
|
|
9292
|
+
[_xw]: input[_wi],
|
|
9353
9293
|
[_xoi]: input[_oi],
|
|
9354
9294
|
});
|
|
9355
9295
|
b.bp("/experiment-groups/{id}/add-members");
|
|
@@ -9369,7 +9309,7 @@ function requireAws_restJson1 () {
|
|
|
9369
9309
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9370
9310
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9371
9311
|
'content-type': 'application/json',
|
|
9372
|
-
[
|
|
9312
|
+
[_xw]: input[_wi],
|
|
9373
9313
|
[_xoi]: input[_oi],
|
|
9374
9314
|
});
|
|
9375
9315
|
b.bp("/experiments/applicable-variants");
|
|
@@ -9388,7 +9328,7 @@ function requireAws_restJson1 () {
|
|
|
9388
9328
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9389
9329
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9390
9330
|
'content-type': 'application/json',
|
|
9391
|
-
[
|
|
9331
|
+
[_xw]: input[_wi],
|
|
9392
9332
|
[_xoi]: input[_oi],
|
|
9393
9333
|
[_xct]: input[_ct],
|
|
9394
9334
|
});
|
|
@@ -9411,7 +9351,7 @@ function requireAws_restJson1 () {
|
|
|
9411
9351
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9412
9352
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9413
9353
|
'content-type': 'application/json',
|
|
9414
|
-
[
|
|
9354
|
+
[_xw]: input[_wi],
|
|
9415
9355
|
[_xoi]: input[_oi],
|
|
9416
9356
|
});
|
|
9417
9357
|
b.bp("/experiments/{id}/conclude");
|
|
@@ -9432,7 +9372,7 @@ function requireAws_restJson1 () {
|
|
|
9432
9372
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9433
9373
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9434
9374
|
'content-type': 'application/json',
|
|
9435
|
-
[
|
|
9375
|
+
[_xw]: input[_wi],
|
|
9436
9376
|
[_xoi]: input[_oi],
|
|
9437
9377
|
[_xct]: input[_ct],
|
|
9438
9378
|
});
|
|
@@ -9454,7 +9394,7 @@ function requireAws_restJson1 () {
|
|
|
9454
9394
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9455
9395
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9456
9396
|
'content-type': 'application/json',
|
|
9457
|
-
[
|
|
9397
|
+
[_xw]: input[_wi],
|
|
9458
9398
|
[_xoi]: input[_oi],
|
|
9459
9399
|
});
|
|
9460
9400
|
b.bp("/default-config");
|
|
@@ -9478,7 +9418,7 @@ function requireAws_restJson1 () {
|
|
|
9478
9418
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9479
9419
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9480
9420
|
'content-type': 'application/json',
|
|
9481
|
-
[
|
|
9421
|
+
[_xw]: input[_wi],
|
|
9482
9422
|
[_xoi]: input[_oi],
|
|
9483
9423
|
});
|
|
9484
9424
|
b.bp("/dimension");
|
|
@@ -9503,7 +9443,7 @@ function requireAws_restJson1 () {
|
|
|
9503
9443
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9504
9444
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9505
9445
|
'content-type': 'application/json',
|
|
9506
|
-
[
|
|
9446
|
+
[_xw]: input[_wi],
|
|
9507
9447
|
[_xoi]: input[_oi],
|
|
9508
9448
|
});
|
|
9509
9449
|
b.bp("/experiments");
|
|
@@ -9528,7 +9468,7 @@ function requireAws_restJson1 () {
|
|
|
9528
9468
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9529
9469
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9530
9470
|
'content-type': 'application/json',
|
|
9531
|
-
[
|
|
9471
|
+
[_xw]: input[_wi],
|
|
9532
9472
|
[_xoi]: input[_oi],
|
|
9533
9473
|
});
|
|
9534
9474
|
b.bp("/experiment-groups");
|
|
@@ -9551,7 +9491,7 @@ function requireAws_restJson1 () {
|
|
|
9551
9491
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9552
9492
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9553
9493
|
'content-type': 'application/json',
|
|
9554
|
-
[
|
|
9494
|
+
[_xw]: input[_wi],
|
|
9555
9495
|
[_xoi]: input[_oi],
|
|
9556
9496
|
});
|
|
9557
9497
|
b.bp("/function");
|
|
@@ -9595,7 +9535,7 @@ function requireAws_restJson1 () {
|
|
|
9595
9535
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9596
9536
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9597
9537
|
'content-type': 'application/json',
|
|
9598
|
-
[
|
|
9538
|
+
[_xw]: input[_wi],
|
|
9599
9539
|
[_xoi]: input[_oi],
|
|
9600
9540
|
});
|
|
9601
9541
|
b.bp("/types");
|
|
@@ -9616,7 +9556,7 @@ function requireAws_restJson1 () {
|
|
|
9616
9556
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9617
9557
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9618
9558
|
'content-type': 'application/json',
|
|
9619
|
-
[
|
|
9559
|
+
[_xw]: input[_wi],
|
|
9620
9560
|
[_xoi]: input[_oi],
|
|
9621
9561
|
});
|
|
9622
9562
|
b.bp("/webhook");
|
|
@@ -9664,7 +9604,7 @@ function requireAws_restJson1 () {
|
|
|
9664
9604
|
const se_DeleteContextCommand = async (input, context) => {
|
|
9665
9605
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9666
9606
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9667
|
-
[
|
|
9607
|
+
[_xw]: input[_wi],
|
|
9668
9608
|
[_xoi]: input[_oi],
|
|
9669
9609
|
[_xct]: input[_ct],
|
|
9670
9610
|
});
|
|
@@ -9680,7 +9620,7 @@ function requireAws_restJson1 () {
|
|
|
9680
9620
|
const se_DeleteDefaultConfigCommand = async (input, context) => {
|
|
9681
9621
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9682
9622
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9683
|
-
[
|
|
9623
|
+
[_xw]: input[_wi],
|
|
9684
9624
|
[_xoi]: input[_oi],
|
|
9685
9625
|
});
|
|
9686
9626
|
b.bp("/default-config/{key}");
|
|
@@ -9695,7 +9635,7 @@ function requireAws_restJson1 () {
|
|
|
9695
9635
|
const se_DeleteDimensionCommand = async (input, context) => {
|
|
9696
9636
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9697
9637
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9698
|
-
[
|
|
9638
|
+
[_xw]: input[_wi],
|
|
9699
9639
|
[_xoi]: input[_oi],
|
|
9700
9640
|
});
|
|
9701
9641
|
b.bp("/dimension/{dimension}");
|
|
@@ -9710,7 +9650,7 @@ function requireAws_restJson1 () {
|
|
|
9710
9650
|
const se_DeleteExperimentGroupCommand = async (input, context) => {
|
|
9711
9651
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9712
9652
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9713
|
-
[
|
|
9653
|
+
[_xw]: input[_wi],
|
|
9714
9654
|
[_xoi]: input[_oi],
|
|
9715
9655
|
});
|
|
9716
9656
|
b.bp("/experiment-groups/{id}");
|
|
@@ -9725,7 +9665,7 @@ function requireAws_restJson1 () {
|
|
|
9725
9665
|
const se_DeleteFunctionCommand = async (input, context) => {
|
|
9726
9666
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9727
9667
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9728
|
-
[
|
|
9668
|
+
[_xw]: input[_wi],
|
|
9729
9669
|
[_xoi]: input[_oi],
|
|
9730
9670
|
});
|
|
9731
9671
|
b.bp("/function/{function_name}");
|
|
@@ -9740,7 +9680,7 @@ function requireAws_restJson1 () {
|
|
|
9740
9680
|
const se_DeleteTypeTemplatesCommand = async (input, context) => {
|
|
9741
9681
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9742
9682
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9743
|
-
[
|
|
9683
|
+
[_xw]: input[_wi],
|
|
9744
9684
|
[_xoi]: input[_oi],
|
|
9745
9685
|
});
|
|
9746
9686
|
b.bp("/types/{type_name}");
|
|
@@ -9752,11 +9692,26 @@ function requireAws_restJson1 () {
|
|
|
9752
9692
|
return b.build();
|
|
9753
9693
|
};
|
|
9754
9694
|
Aws_restJson1.se_DeleteTypeTemplatesCommand = se_DeleteTypeTemplatesCommand;
|
|
9695
|
+
const se_DeleteWebhookCommand = async (input, context) => {
|
|
9696
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9697
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9698
|
+
[_xw]: input[_wi],
|
|
9699
|
+
[_xoi]: input[_oi],
|
|
9700
|
+
});
|
|
9701
|
+
b.bp("/webhook/{name}");
|
|
9702
|
+
b.p('name', () => input.name, '{name}', false);
|
|
9703
|
+
let body;
|
|
9704
|
+
b.m("DELETE")
|
|
9705
|
+
.h(headers)
|
|
9706
|
+
.b(body);
|
|
9707
|
+
return b.build();
|
|
9708
|
+
};
|
|
9709
|
+
Aws_restJson1.se_DeleteWebhookCommand = se_DeleteWebhookCommand;
|
|
9755
9710
|
const se_DiscardExperimentCommand = async (input, context) => {
|
|
9756
9711
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9757
9712
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9758
9713
|
'content-type': 'application/json',
|
|
9759
|
-
[
|
|
9714
|
+
[_xw]: input[_wi],
|
|
9760
9715
|
[_xoi]: input[_oi],
|
|
9761
9716
|
});
|
|
9762
9717
|
b.bp("/experiments/{id}/discard");
|
|
@@ -9775,12 +9730,12 @@ function requireAws_restJson1 () {
|
|
|
9775
9730
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9776
9731
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9777
9732
|
'content-type': 'application/json',
|
|
9778
|
-
[
|
|
9733
|
+
[_xw]: input[_wi],
|
|
9779
9734
|
[_xoi]: input[_oi],
|
|
9780
9735
|
});
|
|
9781
9736
|
b.bp("/config");
|
|
9782
9737
|
const query = (0, smithy_client_1.map)({
|
|
9783
|
-
[_p]: [, input[_p]],
|
|
9738
|
+
[_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
|
|
9784
9739
|
[_v]: [, input[_v]],
|
|
9785
9740
|
});
|
|
9786
9741
|
let body;
|
|
@@ -9797,7 +9752,7 @@ function requireAws_restJson1 () {
|
|
|
9797
9752
|
const se_GetConfigFastCommand = async (input, context) => {
|
|
9798
9753
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9799
9754
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9800
|
-
[
|
|
9755
|
+
[_xw]: input[_wi],
|
|
9801
9756
|
[_xoi]: input[_oi],
|
|
9802
9757
|
});
|
|
9803
9758
|
b.bp("/config/fast");
|
|
@@ -9811,7 +9766,7 @@ function requireAws_restJson1 () {
|
|
|
9811
9766
|
const se_GetContextCommand = async (input, context) => {
|
|
9812
9767
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9813
9768
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9814
|
-
[
|
|
9769
|
+
[_xw]: input[_wi],
|
|
9815
9770
|
[_xoi]: input[_oi],
|
|
9816
9771
|
});
|
|
9817
9772
|
b.bp("/context/{id}");
|
|
@@ -9827,7 +9782,7 @@ function requireAws_restJson1 () {
|
|
|
9827
9782
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9828
9783
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9829
9784
|
'content-type': 'application/json',
|
|
9830
|
-
[
|
|
9785
|
+
[_xw]: input[_wi],
|
|
9831
9786
|
[_xoi]: input[_oi],
|
|
9832
9787
|
});
|
|
9833
9788
|
b.bp("/context/get");
|
|
@@ -9847,10 +9802,25 @@ function requireAws_restJson1 () {
|
|
|
9847
9802
|
return b.build();
|
|
9848
9803
|
};
|
|
9849
9804
|
Aws_restJson1.se_GetContextFromConditionCommand = se_GetContextFromConditionCommand;
|
|
9805
|
+
const se_GetDefaultConfigCommand = async (input, context) => {
|
|
9806
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9807
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9808
|
+
[_xw]: input[_wi],
|
|
9809
|
+
[_xoi]: input[_oi],
|
|
9810
|
+
});
|
|
9811
|
+
b.bp("/default-config/{key}");
|
|
9812
|
+
b.p('key', () => input.key, '{key}', false);
|
|
9813
|
+
let body;
|
|
9814
|
+
b.m("GET")
|
|
9815
|
+
.h(headers)
|
|
9816
|
+
.b(body);
|
|
9817
|
+
return b.build();
|
|
9818
|
+
};
|
|
9819
|
+
Aws_restJson1.se_GetDefaultConfigCommand = se_GetDefaultConfigCommand;
|
|
9850
9820
|
const se_GetDimensionCommand = async (input, context) => {
|
|
9851
9821
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9852
9822
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9853
|
-
[
|
|
9823
|
+
[_xw]: input[_wi],
|
|
9854
9824
|
[_xoi]: input[_oi],
|
|
9855
9825
|
});
|
|
9856
9826
|
b.bp("/dimension/{dimension}");
|
|
@@ -9865,7 +9835,7 @@ function requireAws_restJson1 () {
|
|
|
9865
9835
|
const se_GetExperimentCommand = async (input, context) => {
|
|
9866
9836
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9867
9837
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9868
|
-
[
|
|
9838
|
+
[_xw]: input[_wi],
|
|
9869
9839
|
[_xoi]: input[_oi],
|
|
9870
9840
|
});
|
|
9871
9841
|
b.bp("/experiments/{id}");
|
|
@@ -9880,7 +9850,7 @@ function requireAws_restJson1 () {
|
|
|
9880
9850
|
const se_GetExperimentGroupCommand = async (input, context) => {
|
|
9881
9851
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9882
9852
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9883
|
-
[
|
|
9853
|
+
[_xw]: input[_wi],
|
|
9884
9854
|
[_xoi]: input[_oi],
|
|
9885
9855
|
});
|
|
9886
9856
|
b.bp("/experiment-groups/{id}");
|
|
@@ -9895,7 +9865,7 @@ function requireAws_restJson1 () {
|
|
|
9895
9865
|
const se_GetFunctionCommand = async (input, context) => {
|
|
9896
9866
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9897
9867
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9898
|
-
[
|
|
9868
|
+
[_xw]: input[_wi],
|
|
9899
9869
|
[_xoi]: input[_oi],
|
|
9900
9870
|
});
|
|
9901
9871
|
b.bp("/function/{function_name}");
|
|
@@ -9923,13 +9893,13 @@ function requireAws_restJson1 () {
|
|
|
9923
9893
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9924
9894
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9925
9895
|
'content-type': 'application/json',
|
|
9926
|
-
[
|
|
9896
|
+
[_xw]: input[_wi],
|
|
9927
9897
|
[_xoi]: input[_oi],
|
|
9928
9898
|
[_xms]: input[_ms],
|
|
9929
9899
|
});
|
|
9930
9900
|
b.bp("/config/resolve");
|
|
9931
9901
|
const query = (0, smithy_client_1.map)({
|
|
9932
|
-
[_p]: [, input[_p]],
|
|
9902
|
+
[_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
|
|
9933
9903
|
[_v]: [, input[_v]],
|
|
9934
9904
|
[_sr]: [() => input.show_reasoning !== void 0, () => (input[_sr].toString())],
|
|
9935
9905
|
[_ci]: [, input[_ci]],
|
|
@@ -9945,10 +9915,25 @@ function requireAws_restJson1 () {
|
|
|
9945
9915
|
return b.build();
|
|
9946
9916
|
};
|
|
9947
9917
|
Aws_restJson1.se_GetResolvedConfigCommand = se_GetResolvedConfigCommand;
|
|
9918
|
+
const se_GetTypeTemplateCommand = async (input, context) => {
|
|
9919
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9920
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9921
|
+
[_xw]: input[_wi],
|
|
9922
|
+
[_xoi]: input[_oi],
|
|
9923
|
+
});
|
|
9924
|
+
b.bp("/types/{type_name}");
|
|
9925
|
+
b.p('type_name', () => input.type_name, '{type_name}', false);
|
|
9926
|
+
let body;
|
|
9927
|
+
b.m("GET")
|
|
9928
|
+
.h(headers)
|
|
9929
|
+
.b(body);
|
|
9930
|
+
return b.build();
|
|
9931
|
+
};
|
|
9932
|
+
Aws_restJson1.se_GetTypeTemplateCommand = se_GetTypeTemplateCommand;
|
|
9948
9933
|
const se_GetTypeTemplatesListCommand = async (input, context) => {
|
|
9949
9934
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9950
9935
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9951
|
-
[
|
|
9936
|
+
[_xw]: input[_wi],
|
|
9952
9937
|
[_xoi]: input[_oi],
|
|
9953
9938
|
});
|
|
9954
9939
|
b.bp("/types");
|
|
@@ -9965,10 +9950,25 @@ function requireAws_restJson1 () {
|
|
|
9965
9950
|
return b.build();
|
|
9966
9951
|
};
|
|
9967
9952
|
Aws_restJson1.se_GetTypeTemplatesListCommand = se_GetTypeTemplatesListCommand;
|
|
9953
|
+
const se_GetVersionCommand = async (input, context) => {
|
|
9954
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9955
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9956
|
+
[_xw]: input[_wi],
|
|
9957
|
+
[_xoi]: input[_oi],
|
|
9958
|
+
});
|
|
9959
|
+
b.bp("/version/{id}");
|
|
9960
|
+
b.p('id', () => input.id, '{id}', false);
|
|
9961
|
+
let body;
|
|
9962
|
+
b.m("GET")
|
|
9963
|
+
.h(headers)
|
|
9964
|
+
.b(body);
|
|
9965
|
+
return b.build();
|
|
9966
|
+
};
|
|
9967
|
+
Aws_restJson1.se_GetVersionCommand = se_GetVersionCommand;
|
|
9968
9968
|
const se_GetWebhookCommand = async (input, context) => {
|
|
9969
9969
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9970
9970
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9971
|
-
[
|
|
9971
|
+
[_xw]: input[_wi],
|
|
9972
9972
|
[_xoi]: input[_oi],
|
|
9973
9973
|
});
|
|
9974
9974
|
b.bp("/webhook/{name}");
|
|
@@ -9980,10 +9980,39 @@ function requireAws_restJson1 () {
|
|
|
9980
9980
|
return b.build();
|
|
9981
9981
|
};
|
|
9982
9982
|
Aws_restJson1.se_GetWebhookCommand = se_GetWebhookCommand;
|
|
9983
|
+
const se_GetWebhookByEventCommand = async (input, context) => {
|
|
9984
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9985
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9986
|
+
[_xw]: input[_wi],
|
|
9987
|
+
[_xoi]: input[_oi],
|
|
9988
|
+
});
|
|
9989
|
+
b.bp("/webhook/event/{event}");
|
|
9990
|
+
b.p('event', () => input.event, '{event}', false);
|
|
9991
|
+
let body;
|
|
9992
|
+
b.m("GET")
|
|
9993
|
+
.h(headers)
|
|
9994
|
+
.b(body);
|
|
9995
|
+
return b.build();
|
|
9996
|
+
};
|
|
9997
|
+
Aws_restJson1.se_GetWebhookByEventCommand = se_GetWebhookByEventCommand;
|
|
9998
|
+
const se_GetWorkspaceCommand = async (input, context) => {
|
|
9999
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10000
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10001
|
+
[_xoi]: input[_oi],
|
|
10002
|
+
});
|
|
10003
|
+
b.bp("/workspaces/{workspace_name}");
|
|
10004
|
+
b.p('workspace_name', () => input.workspace_name, '{workspace_name}', false);
|
|
10005
|
+
let body;
|
|
10006
|
+
b.m("GET")
|
|
10007
|
+
.h(headers)
|
|
10008
|
+
.b(body);
|
|
10009
|
+
return b.build();
|
|
10010
|
+
};
|
|
10011
|
+
Aws_restJson1.se_GetWorkspaceCommand = se_GetWorkspaceCommand;
|
|
9983
10012
|
const se_ListAuditLogsCommand = async (input, context) => {
|
|
9984
10013
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9985
10014
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9986
|
-
[
|
|
10015
|
+
[_xw]: input[_wi],
|
|
9987
10016
|
[_xoi]: input[_oi],
|
|
9988
10017
|
});
|
|
9989
10018
|
b.bp("/audit");
|
|
@@ -9993,9 +10022,10 @@ function requireAws_restJson1 () {
|
|
|
9993
10022
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
9994
10023
|
[_fd]: [() => input.from_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_fd]).toString())],
|
|
9995
10024
|
[_td]: [() => input.to_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_td]).toString())],
|
|
9996
|
-
[_ta]: [, input[_t]],
|
|
9997
|
-
[_ac]: [, input[_ac]],
|
|
10025
|
+
[_ta]: [() => input.tables !== void 0, () => ((input[_t] || []))],
|
|
10026
|
+
[_ac]: [() => input.action !== void 0, () => ((input[_ac] || []))],
|
|
9998
10027
|
[_u]: [, input[_u]],
|
|
10028
|
+
[_sb]: [, input[_sb]],
|
|
9999
10029
|
});
|
|
10000
10030
|
let body;
|
|
10001
10031
|
b.m("GET")
|
|
@@ -10008,19 +10038,19 @@ function requireAws_restJson1 () {
|
|
|
10008
10038
|
const se_ListContextsCommand = async (input, context) => {
|
|
10009
10039
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10010
10040
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10011
|
-
[
|
|
10041
|
+
[_xw]: input[_wi],
|
|
10012
10042
|
[_xoi]: input[_oi],
|
|
10013
10043
|
});
|
|
10014
|
-
b.bp("/context
|
|
10044
|
+
b.bp("/context");
|
|
10015
10045
|
const query = (0, smithy_client_1.map)({
|
|
10016
|
-
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10017
10046
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10047
|
+
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10018
10048
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10019
|
-
[_p]: [, input[_p]],
|
|
10049
|
+
[_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
|
|
10020
10050
|
[_so]: [, input[_so]],
|
|
10021
10051
|
[_sb]: [, input[_sb]],
|
|
10022
|
-
[_cb]: [, input[_cb]],
|
|
10023
|
-
[_lmb]: [, input[_lmb]],
|
|
10052
|
+
[_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
|
|
10053
|
+
[_lmb]: [() => input.last_modified_by !== void 0, () => ((input[_lmb] || []))],
|
|
10024
10054
|
[_pl]: [, input[_pl]],
|
|
10025
10055
|
[_dms]: [, input[_dms]],
|
|
10026
10056
|
});
|
|
@@ -10035,7 +10065,7 @@ function requireAws_restJson1 () {
|
|
|
10035
10065
|
const se_ListDefaultConfigsCommand = async (input, context) => {
|
|
10036
10066
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10037
10067
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10038
|
-
[
|
|
10068
|
+
[_xw]: input[_wi],
|
|
10039
10069
|
[_xoi]: input[_oi],
|
|
10040
10070
|
});
|
|
10041
10071
|
b.bp("/default-config");
|
|
@@ -10043,6 +10073,7 @@ function requireAws_restJson1 () {
|
|
|
10043
10073
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10044
10074
|
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10045
10075
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10076
|
+
[_n]: [, input[_n]],
|
|
10046
10077
|
});
|
|
10047
10078
|
let body;
|
|
10048
10079
|
b.m("GET")
|
|
@@ -10055,7 +10086,7 @@ function requireAws_restJson1 () {
|
|
|
10055
10086
|
const se_ListDimensionsCommand = async (input, context) => {
|
|
10056
10087
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10057
10088
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10058
|
-
[
|
|
10089
|
+
[_xw]: input[_wi],
|
|
10059
10090
|
[_xoi]: input[_oi],
|
|
10060
10091
|
});
|
|
10061
10092
|
b.bp("/dimension");
|
|
@@ -10075,21 +10106,21 @@ function requireAws_restJson1 () {
|
|
|
10075
10106
|
const se_ListExperimentCommand = async (input, context) => {
|
|
10076
10107
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10077
10108
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10078
|
-
[
|
|
10109
|
+
[_xw]: input[_wi],
|
|
10079
10110
|
[_xoi]: input[_oi],
|
|
10080
10111
|
});
|
|
10081
10112
|
b.bp("/experiments");
|
|
10082
10113
|
const query = (0, smithy_client_1.map)({
|
|
10083
|
-
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10084
10114
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10115
|
+
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10085
10116
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10086
|
-
[_s]: [, input[_s]],
|
|
10117
|
+
[_s]: [() => input.status !== void 0, () => ((input[_s] || []))],
|
|
10087
10118
|
[_fd]: [() => input.from_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_fd]).toString())],
|
|
10088
10119
|
[_td]: [() => input.to_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_td]).toString())],
|
|
10089
10120
|
[_en]: [, input[_en]],
|
|
10090
|
-
[_ei]: [, input[_ei]],
|
|
10091
|
-
[_egi]: [, input[_egi]],
|
|
10092
|
-
[_cb]: [, input[_cb]],
|
|
10121
|
+
[_ei]: [() => input.experiment_ids !== void 0, () => ((input[_ei] || []))],
|
|
10122
|
+
[_egi]: [() => input.experiment_group_ids !== void 0, () => ((input[_egi] || []))],
|
|
10123
|
+
[_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
|
|
10093
10124
|
[_so]: [, input[_so]],
|
|
10094
10125
|
[_sb]: [, input[_sb]],
|
|
10095
10126
|
[_geo]: [() => input.global_experiments_only !== void 0, () => (input[_geo].toString())],
|
|
@@ -10106,20 +10137,20 @@ function requireAws_restJson1 () {
|
|
|
10106
10137
|
const se_ListExperimentGroupsCommand = async (input, context) => {
|
|
10107
10138
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10108
10139
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10109
|
-
[
|
|
10140
|
+
[_xw]: input[_wi],
|
|
10110
10141
|
[_xoi]: input[_oi],
|
|
10111
10142
|
});
|
|
10112
10143
|
b.bp("/experiment-groups");
|
|
10113
10144
|
const query = (0, smithy_client_1.map)({
|
|
10114
|
-
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10115
10145
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10146
|
+
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10147
|
+
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10116
10148
|
[_n]: [, input[_n]],
|
|
10117
10149
|
[_cb]: [, input[_cb]],
|
|
10118
10150
|
[_lmb]: [, input[_lmb]],
|
|
10119
10151
|
[_so]: [, input[_so]],
|
|
10120
10152
|
[_sb]: [, input[_sb]],
|
|
10121
|
-
[
|
|
10122
|
-
[_gt]: [, input[_gt]],
|
|
10153
|
+
[_gt]: [() => input.group_type !== void 0, () => ((input[_gt] || []))],
|
|
10123
10154
|
});
|
|
10124
10155
|
let body;
|
|
10125
10156
|
b.m("GET")
|
|
@@ -10132,7 +10163,7 @@ function requireAws_restJson1 () {
|
|
|
10132
10163
|
const se_ListFunctionCommand = async (input, context) => {
|
|
10133
10164
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10134
10165
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10135
|
-
[
|
|
10166
|
+
[_xw]: input[_wi],
|
|
10136
10167
|
[_xoi]: input[_oi],
|
|
10137
10168
|
});
|
|
10138
10169
|
b.bp("/function");
|
|
@@ -10140,6 +10171,7 @@ function requireAws_restJson1 () {
|
|
|
10140
10171
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10141
10172
|
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10142
10173
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10174
|
+
[_ft]: [() => input.function_type !== void 0, () => ((input[_ft] || []))],
|
|
10143
10175
|
});
|
|
10144
10176
|
let body;
|
|
10145
10177
|
b.m("GET")
|
|
@@ -10169,7 +10201,7 @@ function requireAws_restJson1 () {
|
|
|
10169
10201
|
const se_ListVersionsCommand = async (input, context) => {
|
|
10170
10202
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10171
10203
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10172
|
-
[
|
|
10204
|
+
[_xw]: input[_wi],
|
|
10173
10205
|
[_xoi]: input[_oi],
|
|
10174
10206
|
});
|
|
10175
10207
|
b.bp("/config/versions");
|
|
@@ -10188,7 +10220,7 @@ function requireAws_restJson1 () {
|
|
|
10188
10220
|
const se_ListWebhookCommand = async (input, context) => {
|
|
10189
10221
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10190
10222
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10191
|
-
[
|
|
10223
|
+
[_xw]: input[_wi],
|
|
10192
10224
|
[_xoi]: input[_oi],
|
|
10193
10225
|
});
|
|
10194
10226
|
b.bp("/webhook");
|
|
@@ -10242,7 +10274,7 @@ function requireAws_restJson1 () {
|
|
|
10242
10274
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10243
10275
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10244
10276
|
'content-type': 'application/json',
|
|
10245
|
-
[
|
|
10277
|
+
[_xw]: input[_wi],
|
|
10246
10278
|
[_xoi]: input[_oi],
|
|
10247
10279
|
});
|
|
10248
10280
|
b.bp("/context/move/{id}");
|
|
@@ -10263,7 +10295,7 @@ function requireAws_restJson1 () {
|
|
|
10263
10295
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10264
10296
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10265
10297
|
'content-type': 'application/json',
|
|
10266
|
-
[
|
|
10298
|
+
[_xw]: input[_wi],
|
|
10267
10299
|
[_xoi]: input[_oi],
|
|
10268
10300
|
});
|
|
10269
10301
|
b.bp("/experiments/{id}/pause");
|
|
@@ -10282,7 +10314,7 @@ function requireAws_restJson1 () {
|
|
|
10282
10314
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10283
10315
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10284
10316
|
'content-type': 'application/json',
|
|
10285
|
-
[
|
|
10317
|
+
[_xw]: input[_wi],
|
|
10286
10318
|
[_xoi]: input[_oi],
|
|
10287
10319
|
});
|
|
10288
10320
|
b.bp("/function/{function_name}/publish");
|
|
@@ -10301,7 +10333,7 @@ function requireAws_restJson1 () {
|
|
|
10301
10333
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10302
10334
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10303
10335
|
'content-type': 'application/json',
|
|
10304
|
-
[
|
|
10336
|
+
[_xw]: input[_wi],
|
|
10305
10337
|
[_xoi]: input[_oi],
|
|
10306
10338
|
});
|
|
10307
10339
|
b.bp("/experiments/{id}/ramp");
|
|
@@ -10321,7 +10353,7 @@ function requireAws_restJson1 () {
|
|
|
10321
10353
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10322
10354
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10323
10355
|
'content-type': 'application/json',
|
|
10324
|
-
[
|
|
10356
|
+
[_xw]: input[_wi],
|
|
10325
10357
|
[_xoi]: input[_oi],
|
|
10326
10358
|
});
|
|
10327
10359
|
b.bp("/experiment-groups/{id}/remove-members");
|
|
@@ -10341,7 +10373,7 @@ function requireAws_restJson1 () {
|
|
|
10341
10373
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10342
10374
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10343
10375
|
'content-type': 'application/json',
|
|
10344
|
-
[
|
|
10376
|
+
[_xw]: input[_wi],
|
|
10345
10377
|
[_xoi]: input[_oi],
|
|
10346
10378
|
});
|
|
10347
10379
|
b.bp("/experiments/{id}/resume");
|
|
@@ -10360,7 +10392,7 @@ function requireAws_restJson1 () {
|
|
|
10360
10392
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10361
10393
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10362
10394
|
'content-type': 'application/json',
|
|
10363
|
-
[
|
|
10395
|
+
[_xw]: input[_wi],
|
|
10364
10396
|
[_xoi]: input[_oi],
|
|
10365
10397
|
});
|
|
10366
10398
|
b.bp("/function/{function_name}/{stage}/test");
|
|
@@ -10384,7 +10416,7 @@ function requireAws_restJson1 () {
|
|
|
10384
10416
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10385
10417
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10386
10418
|
'content-type': 'application/json',
|
|
10387
|
-
[
|
|
10419
|
+
[_xw]: input[_wi],
|
|
10388
10420
|
[_xoi]: input[_oi],
|
|
10389
10421
|
});
|
|
10390
10422
|
b.bp("/default-config/{key}");
|
|
@@ -10398,7 +10430,7 @@ function requireAws_restJson1 () {
|
|
|
10398
10430
|
'schema': _ => se_Object(_),
|
|
10399
10431
|
'value': _ => se_Document(_),
|
|
10400
10432
|
}));
|
|
10401
|
-
b.m("
|
|
10433
|
+
b.m("PATCH")
|
|
10402
10434
|
.h(headers)
|
|
10403
10435
|
.b(body);
|
|
10404
10436
|
return b.build();
|
|
@@ -10408,7 +10440,7 @@ function requireAws_restJson1 () {
|
|
|
10408
10440
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10409
10441
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10410
10442
|
'content-type': 'application/json',
|
|
10411
|
-
[
|
|
10443
|
+
[_xw]: input[_wi],
|
|
10412
10444
|
[_xoi]: input[_oi],
|
|
10413
10445
|
});
|
|
10414
10446
|
b.bp("/dimension/{dimension}");
|
|
@@ -10422,7 +10454,7 @@ function requireAws_restJson1 () {
|
|
|
10422
10454
|
'position': [],
|
|
10423
10455
|
'schema': _ => se_Object(_),
|
|
10424
10456
|
}));
|
|
10425
|
-
b.m("
|
|
10457
|
+
b.m("PATCH")
|
|
10426
10458
|
.h(headers)
|
|
10427
10459
|
.b(body);
|
|
10428
10460
|
return b.build();
|
|
@@ -10432,7 +10464,7 @@ function requireAws_restJson1 () {
|
|
|
10432
10464
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10433
10465
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10434
10466
|
'content-type': 'application/json',
|
|
10435
|
-
[
|
|
10467
|
+
[_xw]: input[_wi],
|
|
10436
10468
|
[_xoi]: input[_oi],
|
|
10437
10469
|
});
|
|
10438
10470
|
b.bp("/experiment-groups/{id}");
|
|
@@ -10453,7 +10485,7 @@ function requireAws_restJson1 () {
|
|
|
10453
10485
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10454
10486
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10455
10487
|
'content-type': 'application/json',
|
|
10456
|
-
[
|
|
10488
|
+
[_xw]: input[_wi],
|
|
10457
10489
|
[_xoi]: input[_oi],
|
|
10458
10490
|
});
|
|
10459
10491
|
b.bp("/function/{function_name}");
|
|
@@ -10487,7 +10519,7 @@ function requireAws_restJson1 () {
|
|
|
10487
10519
|
'sector': [],
|
|
10488
10520
|
'status': [],
|
|
10489
10521
|
}));
|
|
10490
|
-
b.m("
|
|
10522
|
+
b.m("PATCH")
|
|
10491
10523
|
.h(headers)
|
|
10492
10524
|
.b(body);
|
|
10493
10525
|
return b.build();
|
|
@@ -10497,7 +10529,7 @@ function requireAws_restJson1 () {
|
|
|
10497
10529
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10498
10530
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10499
10531
|
'content-type': 'application/json',
|
|
10500
|
-
[
|
|
10532
|
+
[_xw]: input[_wi],
|
|
10501
10533
|
[_xoi]: input[_oi],
|
|
10502
10534
|
[_xct]: input[_ct],
|
|
10503
10535
|
});
|
|
@@ -10520,7 +10552,7 @@ function requireAws_restJson1 () {
|
|
|
10520
10552
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10521
10553
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10522
10554
|
'content-type': 'application/json',
|
|
10523
|
-
[
|
|
10555
|
+
[_xw]: input[_wi],
|
|
10524
10556
|
[_xoi]: input[_oi],
|
|
10525
10557
|
});
|
|
10526
10558
|
b.bp("/experiments/{id}/overrides");
|
|
@@ -10533,7 +10565,7 @@ function requireAws_restJson1 () {
|
|
|
10533
10565
|
'metrics': _ => se_Document(_),
|
|
10534
10566
|
'variant_list': _ => se_ListVariantUpdateRequest(_),
|
|
10535
10567
|
}));
|
|
10536
|
-
b.m("
|
|
10568
|
+
b.m("PATCH")
|
|
10537
10569
|
.h(headers)
|
|
10538
10570
|
.b(body);
|
|
10539
10571
|
return b.build();
|
|
@@ -10543,7 +10575,7 @@ function requireAws_restJson1 () {
|
|
|
10543
10575
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10544
10576
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10545
10577
|
'content-type': 'application/json',
|
|
10546
|
-
[
|
|
10578
|
+
[_xw]: input[_wi],
|
|
10547
10579
|
[_xoi]: input[_oi],
|
|
10548
10580
|
});
|
|
10549
10581
|
b.bp("/types/{type_name}");
|
|
@@ -10554,7 +10586,7 @@ function requireAws_restJson1 () {
|
|
|
10554
10586
|
'description': [],
|
|
10555
10587
|
'type_schema': _ => se_Object(_),
|
|
10556
10588
|
}));
|
|
10557
|
-
b.m("
|
|
10589
|
+
b.m("PATCH")
|
|
10558
10590
|
.h(headers)
|
|
10559
10591
|
.b(body);
|
|
10560
10592
|
return b.build();
|
|
@@ -10564,7 +10596,7 @@ function requireAws_restJson1 () {
|
|
|
10564
10596
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10565
10597
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10566
10598
|
'content-type': 'application/json',
|
|
10567
|
-
[
|
|
10599
|
+
[_xw]: input[_wi],
|
|
10568
10600
|
[_xoi]: input[_oi],
|
|
10569
10601
|
});
|
|
10570
10602
|
b.bp("/webhook/{name}");
|
|
@@ -10604,16 +10636,34 @@ function requireAws_restJson1 () {
|
|
|
10604
10636
|
'workspace_admin_email': [],
|
|
10605
10637
|
'workspace_status': [],
|
|
10606
10638
|
}));
|
|
10607
|
-
b.m("
|
|
10639
|
+
b.m("PATCH")
|
|
10608
10640
|
.h(headers)
|
|
10609
10641
|
.b(body);
|
|
10610
10642
|
return b.build();
|
|
10611
10643
|
};
|
|
10612
10644
|
Aws_restJson1.se_UpdateWorkspaceCommand = se_UpdateWorkspaceCommand;
|
|
10645
|
+
const se_ValidateContextCommand = async (input, context) => {
|
|
10646
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10647
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10648
|
+
'content-type': 'application/json',
|
|
10649
|
+
[_xw]: input[_wi],
|
|
10650
|
+
[_xoi]: input[_oi],
|
|
10651
|
+
});
|
|
10652
|
+
b.bp("/context/validate");
|
|
10653
|
+
let body;
|
|
10654
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
10655
|
+
'context': _ => se_Condition(_),
|
|
10656
|
+
}));
|
|
10657
|
+
b.m("PUT")
|
|
10658
|
+
.h(headers)
|
|
10659
|
+
.b(body);
|
|
10660
|
+
return b.build();
|
|
10661
|
+
};
|
|
10662
|
+
Aws_restJson1.se_ValidateContextCommand = se_ValidateContextCommand;
|
|
10613
10663
|
const se_WeightRecomputeCommand = async (input, context) => {
|
|
10614
10664
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10615
10665
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10616
|
-
[
|
|
10666
|
+
[_xw]: input[_wi],
|
|
10617
10667
|
[_xoi]: input[_oi],
|
|
10618
10668
|
[_xct]: input[_ct],
|
|
10619
10669
|
});
|
|
@@ -11083,6 +11133,17 @@ function requireAws_restJson1 () {
|
|
|
11083
11133
|
return contents;
|
|
11084
11134
|
};
|
|
11085
11135
|
Aws_restJson1.de_DeleteTypeTemplatesCommand = de_DeleteTypeTemplatesCommand;
|
|
11136
|
+
const de_DeleteWebhookCommand = async (output, context) => {
|
|
11137
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
11138
|
+
return de_CommandError(output, context);
|
|
11139
|
+
}
|
|
11140
|
+
const contents = (0, smithy_client_1.map)({
|
|
11141
|
+
$metadata: deserializeMetadata(output),
|
|
11142
|
+
});
|
|
11143
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11144
|
+
return contents;
|
|
11145
|
+
};
|
|
11146
|
+
Aws_restJson1.de_DeleteWebhookCommand = de_DeleteWebhookCommand;
|
|
11086
11147
|
const de_DiscardExperimentCommand = async (output, context) => {
|
|
11087
11148
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11088
11149
|
return de_CommandError(output, context);
|
|
@@ -11204,6 +11265,31 @@ function requireAws_restJson1 () {
|
|
|
11204
11265
|
return contents;
|
|
11205
11266
|
};
|
|
11206
11267
|
Aws_restJson1.de_GetContextFromConditionCommand = de_GetContextFromConditionCommand;
|
|
11268
|
+
const de_GetDefaultConfigCommand = async (output, context) => {
|
|
11269
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11270
|
+
return de_CommandError(output, context);
|
|
11271
|
+
}
|
|
11272
|
+
const contents = (0, smithy_client_1.map)({
|
|
11273
|
+
$metadata: deserializeMetadata(output),
|
|
11274
|
+
});
|
|
11275
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11276
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11277
|
+
'autocomplete_function_name': smithy_client_1.expectString,
|
|
11278
|
+
'change_reason': smithy_client_1.expectString,
|
|
11279
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11280
|
+
'created_by': smithy_client_1.expectString,
|
|
11281
|
+
'description': smithy_client_1.expectString,
|
|
11282
|
+
'function_name': smithy_client_1.expectString,
|
|
11283
|
+
'key': smithy_client_1.expectString,
|
|
11284
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11285
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11286
|
+
'schema': _ => de_Object(_),
|
|
11287
|
+
'value': _ => de_Document(_),
|
|
11288
|
+
});
|
|
11289
|
+
Object.assign(contents, doc);
|
|
11290
|
+
return contents;
|
|
11291
|
+
};
|
|
11292
|
+
Aws_restJson1.de_GetDefaultConfigCommand = de_GetDefaultConfigCommand;
|
|
11207
11293
|
const de_GetDimensionCommand = async (output, context) => {
|
|
11208
11294
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11209
11295
|
return de_CommandError(output, context);
|
|
@@ -11364,6 +11450,28 @@ function requireAws_restJson1 () {
|
|
|
11364
11450
|
return contents;
|
|
11365
11451
|
};
|
|
11366
11452
|
Aws_restJson1.de_GetResolvedConfigCommand = de_GetResolvedConfigCommand;
|
|
11453
|
+
const de_GetTypeTemplateCommand = async (output, context) => {
|
|
11454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11455
|
+
return de_CommandError(output, context);
|
|
11456
|
+
}
|
|
11457
|
+
const contents = (0, smithy_client_1.map)({
|
|
11458
|
+
$metadata: deserializeMetadata(output),
|
|
11459
|
+
});
|
|
11460
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11461
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11462
|
+
'change_reason': smithy_client_1.expectString,
|
|
11463
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11464
|
+
'created_by': smithy_client_1.expectString,
|
|
11465
|
+
'description': smithy_client_1.expectString,
|
|
11466
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11467
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11468
|
+
'type_name': smithy_client_1.expectString,
|
|
11469
|
+
'type_schema': _ => de_Object(_),
|
|
11470
|
+
});
|
|
11471
|
+
Object.assign(contents, doc);
|
|
11472
|
+
return contents;
|
|
11473
|
+
};
|
|
11474
|
+
Aws_restJson1.de_GetTypeTemplateCommand = de_GetTypeTemplateCommand;
|
|
11367
11475
|
const de_GetTypeTemplatesListCommand = async (output, context) => {
|
|
11368
11476
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11369
11477
|
return de_CommandError(output, context);
|
|
@@ -11381,6 +11489,26 @@ function requireAws_restJson1 () {
|
|
|
11381
11489
|
return contents;
|
|
11382
11490
|
};
|
|
11383
11491
|
Aws_restJson1.de_GetTypeTemplatesListCommand = de_GetTypeTemplatesListCommand;
|
|
11492
|
+
const de_GetVersionCommand = async (output, context) => {
|
|
11493
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11494
|
+
return de_CommandError(output, context);
|
|
11495
|
+
}
|
|
11496
|
+
const contents = (0, smithy_client_1.map)({
|
|
11497
|
+
$metadata: deserializeMetadata(output),
|
|
11498
|
+
});
|
|
11499
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11500
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11501
|
+
'config': _ => de_Document(_),
|
|
11502
|
+
'config_hash': smithy_client_1.expectString,
|
|
11503
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11504
|
+
'description': smithy_client_1.expectString,
|
|
11505
|
+
'id': smithy_client_1.expectString,
|
|
11506
|
+
'tags': smithy_client_1._json,
|
|
11507
|
+
});
|
|
11508
|
+
Object.assign(contents, doc);
|
|
11509
|
+
return contents;
|
|
11510
|
+
};
|
|
11511
|
+
Aws_restJson1.de_GetVersionCommand = de_GetVersionCommand;
|
|
11384
11512
|
const de_GetWebhookCommand = async (output, context) => {
|
|
11385
11513
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11386
11514
|
return de_CommandError(output, context);
|
|
@@ -11410,6 +11538,65 @@ function requireAws_restJson1 () {
|
|
|
11410
11538
|
return contents;
|
|
11411
11539
|
};
|
|
11412
11540
|
Aws_restJson1.de_GetWebhookCommand = de_GetWebhookCommand;
|
|
11541
|
+
const de_GetWebhookByEventCommand = async (output, context) => {
|
|
11542
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11543
|
+
return de_CommandError(output, context);
|
|
11544
|
+
}
|
|
11545
|
+
const contents = (0, smithy_client_1.map)({
|
|
11546
|
+
$metadata: deserializeMetadata(output),
|
|
11547
|
+
});
|
|
11548
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11549
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11550
|
+
'change_reason': smithy_client_1.expectString,
|
|
11551
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11552
|
+
'created_by': smithy_client_1.expectString,
|
|
11553
|
+
'custom_headers': _ => de_Object(_),
|
|
11554
|
+
'description': smithy_client_1.expectString,
|
|
11555
|
+
'enabled': smithy_client_1.expectBoolean,
|
|
11556
|
+
'events': smithy_client_1._json,
|
|
11557
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11558
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11559
|
+
'last_triggered_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11560
|
+
'max_retries': smithy_client_1.expectInt32,
|
|
11561
|
+
'method': smithy_client_1.expectString,
|
|
11562
|
+
'name': smithy_client_1.expectString,
|
|
11563
|
+
'url': smithy_client_1.expectString,
|
|
11564
|
+
'version': smithy_client_1.expectString,
|
|
11565
|
+
});
|
|
11566
|
+
Object.assign(contents, doc);
|
|
11567
|
+
return contents;
|
|
11568
|
+
};
|
|
11569
|
+
Aws_restJson1.de_GetWebhookByEventCommand = de_GetWebhookByEventCommand;
|
|
11570
|
+
const de_GetWorkspaceCommand = async (output, context) => {
|
|
11571
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11572
|
+
return de_CommandError(output, context);
|
|
11573
|
+
}
|
|
11574
|
+
const contents = (0, smithy_client_1.map)({
|
|
11575
|
+
$metadata: deserializeMetadata(output),
|
|
11576
|
+
});
|
|
11577
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11578
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11579
|
+
'allow_experiment_self_approval': smithy_client_1.expectBoolean,
|
|
11580
|
+
'auto_populate_control': smithy_client_1.expectBoolean,
|
|
11581
|
+
'config_version': smithy_client_1.expectString,
|
|
11582
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11583
|
+
'created_by': smithy_client_1.expectString,
|
|
11584
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11585
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11586
|
+
'mandatory_dimensions': smithy_client_1._json,
|
|
11587
|
+
'metrics': _ => de_Document(_),
|
|
11588
|
+
'organisation_id': smithy_client_1.expectString,
|
|
11589
|
+
'organisation_name': smithy_client_1.expectString,
|
|
11590
|
+
'strict_mode': smithy_client_1.expectBoolean,
|
|
11591
|
+
'workspace_admin_email': smithy_client_1.expectString,
|
|
11592
|
+
'workspace_name': smithy_client_1.expectString,
|
|
11593
|
+
'workspace_schema_name': smithy_client_1.expectString,
|
|
11594
|
+
'workspace_status': smithy_client_1.expectString,
|
|
11595
|
+
});
|
|
11596
|
+
Object.assign(contents, doc);
|
|
11597
|
+
return contents;
|
|
11598
|
+
};
|
|
11599
|
+
Aws_restJson1.de_GetWorkspaceCommand = de_GetWorkspaceCommand;
|
|
11413
11600
|
const de_ListAuditLogsCommand = async (output, context) => {
|
|
11414
11601
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11415
11602
|
return de_CommandError(output, context);
|
|
@@ -11488,8 +11675,8 @@ function requireAws_restJson1 () {
|
|
|
11488
11675
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11489
11676
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11490
11677
|
'data': _ => de_ExperimentList(_),
|
|
11491
|
-
'total_items': smithy_client_1.
|
|
11492
|
-
'total_pages': smithy_client_1.
|
|
11678
|
+
'total_items': smithy_client_1.expectInt32,
|
|
11679
|
+
'total_pages': smithy_client_1.expectInt32,
|
|
11493
11680
|
});
|
|
11494
11681
|
Object.assign(contents, doc);
|
|
11495
11682
|
return contents;
|
|
@@ -11505,8 +11692,8 @@ function requireAws_restJson1 () {
|
|
|
11505
11692
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11506
11693
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11507
11694
|
'data': _ => de_ExperimentGroupList(_),
|
|
11508
|
-
'total_items': smithy_client_1.
|
|
11509
|
-
'total_pages': smithy_client_1.
|
|
11695
|
+
'total_items': smithy_client_1.expectInt32,
|
|
11696
|
+
'total_pages': smithy_client_1.expectInt32,
|
|
11510
11697
|
});
|
|
11511
11698
|
Object.assign(contents, doc);
|
|
11512
11699
|
return contents;
|
|
@@ -11573,8 +11760,8 @@ function requireAws_restJson1 () {
|
|
|
11573
11760
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11574
11761
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11575
11762
|
'data': _ => de_WebhookList(_),
|
|
11576
|
-
'total_items': smithy_client_1.
|
|
11577
|
-
'total_pages': smithy_client_1.
|
|
11763
|
+
'total_items': smithy_client_1.expectInt32,
|
|
11764
|
+
'total_pages': smithy_client_1.expectInt32,
|
|
11578
11765
|
});
|
|
11579
11766
|
Object.assign(contents, doc);
|
|
11580
11767
|
return contents;
|
|
@@ -11590,8 +11777,8 @@ function requireAws_restJson1 () {
|
|
|
11590
11777
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11591
11778
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11592
11779
|
'data': _ => de_WorkspaceList(_),
|
|
11593
|
-
'total_items': smithy_client_1.
|
|
11594
|
-
'total_pages': smithy_client_1.
|
|
11780
|
+
'total_items': smithy_client_1.expectInt32,
|
|
11781
|
+
'total_pages': smithy_client_1.expectInt32,
|
|
11595
11782
|
});
|
|
11596
11783
|
Object.assign(contents, doc);
|
|
11597
11784
|
return contents;
|
|
@@ -12102,6 +12289,17 @@ function requireAws_restJson1 () {
|
|
|
12102
12289
|
return contents;
|
|
12103
12290
|
};
|
|
12104
12291
|
Aws_restJson1.de_UpdateWorkspaceCommand = de_UpdateWorkspaceCommand;
|
|
12292
|
+
const de_ValidateContextCommand = async (output, context) => {
|
|
12293
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12294
|
+
return de_CommandError(output, context);
|
|
12295
|
+
}
|
|
12296
|
+
const contents = (0, smithy_client_1.map)({
|
|
12297
|
+
$metadata: deserializeMetadata(output),
|
|
12298
|
+
});
|
|
12299
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
12300
|
+
return contents;
|
|
12301
|
+
};
|
|
12302
|
+
Aws_restJson1.de_ValidateContextCommand = de_ValidateContextCommand;
|
|
12105
12303
|
const de_WeightRecomputeCommand = async (output, context) => {
|
|
12106
12304
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12107
12305
|
return de_CommandError(output, context);
|
|
@@ -12130,21 +12328,6 @@ function requireAws_restJson1 () {
|
|
|
12130
12328
|
case "ResourceNotFound":
|
|
12131
12329
|
case "io.superposition#ResourceNotFound":
|
|
12132
12330
|
throw await de_ResourceNotFoundRes(parsedOutput);
|
|
12133
|
-
case "FunctionNotFound":
|
|
12134
|
-
case "io.superposition#FunctionNotFound":
|
|
12135
|
-
throw await de_FunctionNotFoundRes(parsedOutput);
|
|
12136
|
-
case "TypeTemplatesNotFound":
|
|
12137
|
-
case "io.superposition#TypeTemplatesNotFound":
|
|
12138
|
-
throw await de_TypeTemplatesNotFoundRes(parsedOutput);
|
|
12139
|
-
case "OrganisationNotFound":
|
|
12140
|
-
case "io.superposition#OrganisationNotFound":
|
|
12141
|
-
throw await de_OrganisationNotFoundRes(parsedOutput);
|
|
12142
|
-
case "WebhookNotFound":
|
|
12143
|
-
case "io.superposition#WebhookNotFound":
|
|
12144
|
-
throw await de_WebhookNotFoundRes(parsedOutput);
|
|
12145
|
-
case "WorkspaceNotFound":
|
|
12146
|
-
case "io.superposition#WorkspaceNotFound":
|
|
12147
|
-
throw await de_WorkspaceNotFoundRes(parsedOutput);
|
|
12148
12331
|
default:
|
|
12149
12332
|
const parsedBody = parsedOutput.body;
|
|
12150
12333
|
return throwDefaultError({
|
|
@@ -12155,17 +12338,6 @@ function requireAws_restJson1 () {
|
|
|
12155
12338
|
}
|
|
12156
12339
|
};
|
|
12157
12340
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(SuperpositionServiceException_1.SuperpositionServiceException);
|
|
12158
|
-
const de_FunctionNotFoundRes = async (parsedOutput, context) => {
|
|
12159
|
-
const contents = (0, smithy_client_1.map)({});
|
|
12160
|
-
const data = parsedOutput.body;
|
|
12161
|
-
const doc = (0, smithy_client_1.take)(data, {});
|
|
12162
|
-
Object.assign(contents, doc);
|
|
12163
|
-
const exception = new models_0_1.FunctionNotFound({
|
|
12164
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
12165
|
-
...contents
|
|
12166
|
-
});
|
|
12167
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12168
|
-
};
|
|
12169
12341
|
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
12170
12342
|
const contents = (0, smithy_client_1.map)({});
|
|
12171
12343
|
const data = parsedOutput.body;
|
|
@@ -12179,17 +12351,6 @@ function requireAws_restJson1 () {
|
|
|
12179
12351
|
});
|
|
12180
12352
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12181
12353
|
};
|
|
12182
|
-
const de_OrganisationNotFoundRes = async (parsedOutput, context) => {
|
|
12183
|
-
const contents = (0, smithy_client_1.map)({});
|
|
12184
|
-
const data = parsedOutput.body;
|
|
12185
|
-
const doc = (0, smithy_client_1.take)(data, {});
|
|
12186
|
-
Object.assign(contents, doc);
|
|
12187
|
-
const exception = new models_0_1.OrganisationNotFound({
|
|
12188
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
12189
|
-
...contents
|
|
12190
|
-
});
|
|
12191
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12192
|
-
};
|
|
12193
12354
|
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
12194
12355
|
const contents = (0, smithy_client_1.map)({});
|
|
12195
12356
|
const data = parsedOutput.body;
|
|
@@ -12201,39 +12362,6 @@ function requireAws_restJson1 () {
|
|
|
12201
12362
|
});
|
|
12202
12363
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12203
12364
|
};
|
|
12204
|
-
const de_TypeTemplatesNotFoundRes = async (parsedOutput, context) => {
|
|
12205
|
-
const contents = (0, smithy_client_1.map)({});
|
|
12206
|
-
const data = parsedOutput.body;
|
|
12207
|
-
const doc = (0, smithy_client_1.take)(data, {});
|
|
12208
|
-
Object.assign(contents, doc);
|
|
12209
|
-
const exception = new models_0_1.TypeTemplatesNotFound({
|
|
12210
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
12211
|
-
...contents
|
|
12212
|
-
});
|
|
12213
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12214
|
-
};
|
|
12215
|
-
const de_WebhookNotFoundRes = async (parsedOutput, context) => {
|
|
12216
|
-
const contents = (0, smithy_client_1.map)({});
|
|
12217
|
-
const data = parsedOutput.body;
|
|
12218
|
-
const doc = (0, smithy_client_1.take)(data, {});
|
|
12219
|
-
Object.assign(contents, doc);
|
|
12220
|
-
const exception = new models_0_1.WebhookNotFound({
|
|
12221
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
12222
|
-
...contents
|
|
12223
|
-
});
|
|
12224
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12225
|
-
};
|
|
12226
|
-
const de_WorkspaceNotFoundRes = async (parsedOutput, context) => {
|
|
12227
|
-
const contents = (0, smithy_client_1.map)({});
|
|
12228
|
-
const data = parsedOutput.body;
|
|
12229
|
-
const doc = (0, smithy_client_1.take)(data, {});
|
|
12230
|
-
Object.assign(contents, doc);
|
|
12231
|
-
const exception = new models_0_1.WorkspaceNotFound({
|
|
12232
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
12233
|
-
...contents
|
|
12234
|
-
});
|
|
12235
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
12236
|
-
};
|
|
12237
12365
|
const se_AutocompleteFunctionRequest = (input, context) => {
|
|
12238
12366
|
return (0, smithy_client_1.take)(input, {
|
|
12239
12367
|
'environment': _ => se_Document(_),
|
|
@@ -12620,7 +12748,6 @@ function requireAws_restJson1 () {
|
|
|
12620
12748
|
const de_ListVersionsMember = (output, context) => {
|
|
12621
12749
|
return (0, smithy_client_1.take)(output, {
|
|
12622
12750
|
'config': (_) => de_Document(_),
|
|
12623
|
-
'config_hash': smithy_client_1.expectString,
|
|
12624
12751
|
'created_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12625
12752
|
'description': smithy_client_1.expectString,
|
|
12626
12753
|
'id': smithy_client_1.expectString,
|
|
@@ -12796,6 +12923,7 @@ function requireAws_restJson1 () {
|
|
|
12796
12923
|
const _ei = "experiment_ids";
|
|
12797
12924
|
const _en = "experiment_name";
|
|
12798
12925
|
const _fd = "from_date";
|
|
12926
|
+
const _ft = "function_type";
|
|
12799
12927
|
const _geo = "global_experiments_only";
|
|
12800
12928
|
const _gt = "group_type";
|
|
12801
12929
|
const _lm = "last-modified";
|
|
@@ -12822,7 +12950,7 @@ function requireAws_restJson1 () {
|
|
|
12822
12950
|
const _xcv = "x-config-version";
|
|
12823
12951
|
const _xms = "x-merge-strategy";
|
|
12824
12952
|
const _xoi = "x-org-id";
|
|
12825
|
-
const
|
|
12953
|
+
const _xw = "x-workspace";
|
|
12826
12954
|
return Aws_restJson1;
|
|
12827
12955
|
}
|
|
12828
12956
|
|
|
@@ -12838,7 +12966,7 @@ function requireAddMembersToGroupCommand () {
|
|
|
12838
12966
|
exports.AddMembersToGroupCommand = exports.$Command = void 0;
|
|
12839
12967
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
12840
12968
|
const middleware_serde_1 = require$$1;
|
|
12841
|
-
const smithy_client_1 = require$$
|
|
12969
|
+
const smithy_client_1 = require$$71;
|
|
12842
12970
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
12843
12971
|
class AddMembersToGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
12844
12972
|
.m(function (Command, cs, config, o) {
|
|
@@ -12870,7 +12998,7 @@ function requireApplicableVariantsCommand () {
|
|
|
12870
12998
|
exports.ApplicableVariantsCommand = exports.$Command = void 0;
|
|
12871
12999
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
12872
13000
|
const middleware_serde_1 = require$$1;
|
|
12873
|
-
const smithy_client_1 = require$$
|
|
13001
|
+
const smithy_client_1 = require$$71;
|
|
12874
13002
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
12875
13003
|
class ApplicableVariantsCommand extends smithy_client_1.Command.classBuilder()
|
|
12876
13004
|
.m(function (Command, cs, config, o) {
|
|
@@ -12902,7 +13030,7 @@ function requireBulkOperationCommand () {
|
|
|
12902
13030
|
exports.BulkOperationCommand = exports.$Command = void 0;
|
|
12903
13031
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
12904
13032
|
const middleware_serde_1 = require$$1;
|
|
12905
|
-
const smithy_client_1 = require$$
|
|
13033
|
+
const smithy_client_1 = require$$71;
|
|
12906
13034
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
12907
13035
|
class BulkOperationCommand extends smithy_client_1.Command.classBuilder()
|
|
12908
13036
|
.m(function (Command, cs, config, o) {
|
|
@@ -12934,7 +13062,7 @@ function requireConcludeExperimentCommand () {
|
|
|
12934
13062
|
exports.ConcludeExperimentCommand = exports.$Command = void 0;
|
|
12935
13063
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
12936
13064
|
const middleware_serde_1 = require$$1;
|
|
12937
|
-
const smithy_client_1 = require$$
|
|
13065
|
+
const smithy_client_1 = require$$71;
|
|
12938
13066
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
12939
13067
|
class ConcludeExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
12940
13068
|
.m(function (Command, cs, config, o) {
|
|
@@ -12966,7 +13094,7 @@ function requireCreateContextCommand () {
|
|
|
12966
13094
|
exports.CreateContextCommand = exports.$Command = void 0;
|
|
12967
13095
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
12968
13096
|
const middleware_serde_1 = require$$1;
|
|
12969
|
-
const smithy_client_1 = require$$
|
|
13097
|
+
const smithy_client_1 = require$$71;
|
|
12970
13098
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
12971
13099
|
class CreateContextCommand extends smithy_client_1.Command.classBuilder()
|
|
12972
13100
|
.m(function (Command, cs, config, o) {
|
|
@@ -12998,7 +13126,7 @@ function requireCreateDefaultConfigCommand () {
|
|
|
12998
13126
|
exports.CreateDefaultConfigCommand = exports.$Command = void 0;
|
|
12999
13127
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13000
13128
|
const middleware_serde_1 = require$$1;
|
|
13001
|
-
const smithy_client_1 = require$$
|
|
13129
|
+
const smithy_client_1 = require$$71;
|
|
13002
13130
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13003
13131
|
class CreateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13004
13132
|
.m(function (Command, cs, config, o) {
|
|
@@ -13030,7 +13158,7 @@ function requireCreateDimensionCommand () {
|
|
|
13030
13158
|
exports.CreateDimensionCommand = exports.$Command = void 0;
|
|
13031
13159
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13032
13160
|
const middleware_serde_1 = require$$1;
|
|
13033
|
-
const smithy_client_1 = require$$
|
|
13161
|
+
const smithy_client_1 = require$$71;
|
|
13034
13162
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13035
13163
|
class CreateDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
13036
13164
|
.m(function (Command, cs, config, o) {
|
|
@@ -13062,7 +13190,7 @@ function requireCreateExperimentCommand () {
|
|
|
13062
13190
|
exports.CreateExperimentCommand = exports.$Command = void 0;
|
|
13063
13191
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13064
13192
|
const middleware_serde_1 = require$$1;
|
|
13065
|
-
const smithy_client_1 = require$$
|
|
13193
|
+
const smithy_client_1 = require$$71;
|
|
13066
13194
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13067
13195
|
class CreateExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
13068
13196
|
.m(function (Command, cs, config, o) {
|
|
@@ -13094,7 +13222,7 @@ function requireCreateExperimentGroupCommand () {
|
|
|
13094
13222
|
exports.CreateExperimentGroupCommand = exports.$Command = void 0;
|
|
13095
13223
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13096
13224
|
const middleware_serde_1 = require$$1;
|
|
13097
|
-
const smithy_client_1 = require$$
|
|
13225
|
+
const smithy_client_1 = require$$71;
|
|
13098
13226
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13099
13227
|
class CreateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13100
13228
|
.m(function (Command, cs, config, o) {
|
|
@@ -13126,7 +13254,7 @@ function requireCreateFunctionCommand () {
|
|
|
13126
13254
|
exports.CreateFunctionCommand = exports.$Command = void 0;
|
|
13127
13255
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13128
13256
|
const middleware_serde_1 = require$$1;
|
|
13129
|
-
const smithy_client_1 = require$$
|
|
13257
|
+
const smithy_client_1 = require$$71;
|
|
13130
13258
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13131
13259
|
class CreateFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
13132
13260
|
.m(function (Command, cs, config, o) {
|
|
@@ -13158,7 +13286,7 @@ function requireCreateOrganisationCommand () {
|
|
|
13158
13286
|
exports.CreateOrganisationCommand = exports.$Command = void 0;
|
|
13159
13287
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13160
13288
|
const middleware_serde_1 = require$$1;
|
|
13161
|
-
const smithy_client_1 = require$$
|
|
13289
|
+
const smithy_client_1 = require$$71;
|
|
13162
13290
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13163
13291
|
class CreateOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
13164
13292
|
.m(function (Command, cs, config, o) {
|
|
@@ -13190,7 +13318,7 @@ function requireCreateTypeTemplatesCommand () {
|
|
|
13190
13318
|
exports.CreateTypeTemplatesCommand = exports.$Command = void 0;
|
|
13191
13319
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13192
13320
|
const middleware_serde_1 = require$$1;
|
|
13193
|
-
const smithy_client_1 = require$$
|
|
13321
|
+
const smithy_client_1 = require$$71;
|
|
13194
13322
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13195
13323
|
class CreateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
13196
13324
|
.m(function (Command, cs, config, o) {
|
|
@@ -13222,7 +13350,7 @@ function requireCreateWebhookCommand () {
|
|
|
13222
13350
|
exports.CreateWebhookCommand = exports.$Command = void 0;
|
|
13223
13351
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13224
13352
|
const middleware_serde_1 = require$$1;
|
|
13225
|
-
const smithy_client_1 = require$$
|
|
13353
|
+
const smithy_client_1 = require$$71;
|
|
13226
13354
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13227
13355
|
class CreateWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
13228
13356
|
.m(function (Command, cs, config, o) {
|
|
@@ -13254,7 +13382,7 @@ function requireCreateWorkspaceCommand () {
|
|
|
13254
13382
|
exports.CreateWorkspaceCommand = exports.$Command = void 0;
|
|
13255
13383
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13256
13384
|
const middleware_serde_1 = require$$1;
|
|
13257
|
-
const smithy_client_1 = require$$
|
|
13385
|
+
const smithy_client_1 = require$$71;
|
|
13258
13386
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13259
13387
|
class CreateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
13260
13388
|
.m(function (Command, cs, config, o) {
|
|
@@ -13286,7 +13414,7 @@ function requireDeleteContextCommand () {
|
|
|
13286
13414
|
exports.DeleteContextCommand = exports.$Command = void 0;
|
|
13287
13415
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13288
13416
|
const middleware_serde_1 = require$$1;
|
|
13289
|
-
const smithy_client_1 = require$$
|
|
13417
|
+
const smithy_client_1 = require$$71;
|
|
13290
13418
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13291
13419
|
class DeleteContextCommand extends smithy_client_1.Command.classBuilder()
|
|
13292
13420
|
.m(function (Command, cs, config, o) {
|
|
@@ -13318,7 +13446,7 @@ function requireDeleteDefaultConfigCommand () {
|
|
|
13318
13446
|
exports.DeleteDefaultConfigCommand = exports.$Command = void 0;
|
|
13319
13447
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13320
13448
|
const middleware_serde_1 = require$$1;
|
|
13321
|
-
const smithy_client_1 = require$$
|
|
13449
|
+
const smithy_client_1 = require$$71;
|
|
13322
13450
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13323
13451
|
class DeleteDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13324
13452
|
.m(function (Command, cs, config, o) {
|
|
@@ -13350,7 +13478,7 @@ function requireDeleteDimensionCommand () {
|
|
|
13350
13478
|
exports.DeleteDimensionCommand = exports.$Command = void 0;
|
|
13351
13479
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13352
13480
|
const middleware_serde_1 = require$$1;
|
|
13353
|
-
const smithy_client_1 = require$$
|
|
13481
|
+
const smithy_client_1 = require$$71;
|
|
13354
13482
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13355
13483
|
class DeleteDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
13356
13484
|
.m(function (Command, cs, config, o) {
|
|
@@ -13382,7 +13510,7 @@ function requireDeleteExperimentGroupCommand () {
|
|
|
13382
13510
|
exports.DeleteExperimentGroupCommand = exports.$Command = void 0;
|
|
13383
13511
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13384
13512
|
const middleware_serde_1 = require$$1;
|
|
13385
|
-
const smithy_client_1 = require$$
|
|
13513
|
+
const smithy_client_1 = require$$71;
|
|
13386
13514
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13387
13515
|
class DeleteExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13388
13516
|
.m(function (Command, cs, config, o) {
|
|
@@ -13414,7 +13542,7 @@ function requireDeleteFunctionCommand () {
|
|
|
13414
13542
|
exports.DeleteFunctionCommand = exports.$Command = void 0;
|
|
13415
13543
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13416
13544
|
const middleware_serde_1 = require$$1;
|
|
13417
|
-
const smithy_client_1 = require$$
|
|
13545
|
+
const smithy_client_1 = require$$71;
|
|
13418
13546
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13419
13547
|
class DeleteFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
13420
13548
|
.m(function (Command, cs, config, o) {
|
|
@@ -13446,7 +13574,7 @@ function requireDeleteTypeTemplatesCommand () {
|
|
|
13446
13574
|
exports.DeleteTypeTemplatesCommand = exports.$Command = void 0;
|
|
13447
13575
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13448
13576
|
const middleware_serde_1 = require$$1;
|
|
13449
|
-
const smithy_client_1 = require$$
|
|
13577
|
+
const smithy_client_1 = require$$71;
|
|
13450
13578
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13451
13579
|
class DeleteTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
13452
13580
|
.m(function (Command, cs, config, o) {
|
|
@@ -13466,6 +13594,38 @@ function requireDeleteTypeTemplatesCommand () {
|
|
|
13466
13594
|
return DeleteTypeTemplatesCommand;
|
|
13467
13595
|
}
|
|
13468
13596
|
|
|
13597
|
+
var DeleteWebhookCommand = {};
|
|
13598
|
+
|
|
13599
|
+
var hasRequiredDeleteWebhookCommand;
|
|
13600
|
+
|
|
13601
|
+
function requireDeleteWebhookCommand () {
|
|
13602
|
+
if (hasRequiredDeleteWebhookCommand) return DeleteWebhookCommand;
|
|
13603
|
+
hasRequiredDeleteWebhookCommand = 1;
|
|
13604
|
+
(function (exports) {
|
|
13605
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13606
|
+
exports.DeleteWebhookCommand = exports.$Command = void 0;
|
|
13607
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13608
|
+
const middleware_serde_1 = require$$1;
|
|
13609
|
+
const smithy_client_1 = require$$71;
|
|
13610
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13611
|
+
class DeleteWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
13612
|
+
.m(function (Command, cs, config, o) {
|
|
13613
|
+
return [
|
|
13614
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13615
|
+
];
|
|
13616
|
+
})
|
|
13617
|
+
.s("Superposition", "DeleteWebhook", {})
|
|
13618
|
+
.n("SuperpositionClient", "DeleteWebhookCommand")
|
|
13619
|
+
.f(void 0, void 0)
|
|
13620
|
+
.ser(Aws_restJson1_1.se_DeleteWebhookCommand)
|
|
13621
|
+
.de(Aws_restJson1_1.de_DeleteWebhookCommand)
|
|
13622
|
+
.build() {
|
|
13623
|
+
}
|
|
13624
|
+
exports.DeleteWebhookCommand = DeleteWebhookCommand;
|
|
13625
|
+
} (DeleteWebhookCommand));
|
|
13626
|
+
return DeleteWebhookCommand;
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13469
13629
|
var DiscardExperimentCommand = {};
|
|
13470
13630
|
|
|
13471
13631
|
var hasRequiredDiscardExperimentCommand;
|
|
@@ -13478,7 +13638,7 @@ function requireDiscardExperimentCommand () {
|
|
|
13478
13638
|
exports.DiscardExperimentCommand = exports.$Command = void 0;
|
|
13479
13639
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13480
13640
|
const middleware_serde_1 = require$$1;
|
|
13481
|
-
const smithy_client_1 = require$$
|
|
13641
|
+
const smithy_client_1 = require$$71;
|
|
13482
13642
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13483
13643
|
class DiscardExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
13484
13644
|
.m(function (Command, cs, config, o) {
|
|
@@ -13510,7 +13670,7 @@ function requireGetConfigCommand () {
|
|
|
13510
13670
|
exports.GetConfigCommand = exports.$Command = void 0;
|
|
13511
13671
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13512
13672
|
const middleware_serde_1 = require$$1;
|
|
13513
|
-
const smithy_client_1 = require$$
|
|
13673
|
+
const smithy_client_1 = require$$71;
|
|
13514
13674
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13515
13675
|
class GetConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13516
13676
|
.m(function (Command, cs, config, o) {
|
|
@@ -13542,7 +13702,7 @@ function requireGetConfigFastCommand () {
|
|
|
13542
13702
|
exports.GetConfigFastCommand = exports.$Command = void 0;
|
|
13543
13703
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13544
13704
|
const middleware_serde_1 = require$$1;
|
|
13545
|
-
const smithy_client_1 = require$$
|
|
13705
|
+
const smithy_client_1 = require$$71;
|
|
13546
13706
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13547
13707
|
class GetConfigFastCommand extends smithy_client_1.Command.classBuilder()
|
|
13548
13708
|
.m(function (Command, cs, config, o) {
|
|
@@ -13574,7 +13734,7 @@ function requireGetContextCommand () {
|
|
|
13574
13734
|
exports.GetContextCommand = exports.$Command = void 0;
|
|
13575
13735
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13576
13736
|
const middleware_serde_1 = require$$1;
|
|
13577
|
-
const smithy_client_1 = require$$
|
|
13737
|
+
const smithy_client_1 = require$$71;
|
|
13578
13738
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13579
13739
|
class GetContextCommand extends smithy_client_1.Command.classBuilder()
|
|
13580
13740
|
.m(function (Command, cs, config, o) {
|
|
@@ -13606,7 +13766,7 @@ function requireGetContextFromConditionCommand () {
|
|
|
13606
13766
|
exports.GetContextFromConditionCommand = exports.$Command = void 0;
|
|
13607
13767
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13608
13768
|
const middleware_serde_1 = require$$1;
|
|
13609
|
-
const smithy_client_1 = require$$
|
|
13769
|
+
const smithy_client_1 = require$$71;
|
|
13610
13770
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13611
13771
|
class GetContextFromConditionCommand extends smithy_client_1.Command.classBuilder()
|
|
13612
13772
|
.m(function (Command, cs, config, o) {
|
|
@@ -13626,6 +13786,38 @@ function requireGetContextFromConditionCommand () {
|
|
|
13626
13786
|
return GetContextFromConditionCommand;
|
|
13627
13787
|
}
|
|
13628
13788
|
|
|
13789
|
+
var GetDefaultConfigCommand = {};
|
|
13790
|
+
|
|
13791
|
+
var hasRequiredGetDefaultConfigCommand;
|
|
13792
|
+
|
|
13793
|
+
function requireGetDefaultConfigCommand () {
|
|
13794
|
+
if (hasRequiredGetDefaultConfigCommand) return GetDefaultConfigCommand;
|
|
13795
|
+
hasRequiredGetDefaultConfigCommand = 1;
|
|
13796
|
+
(function (exports) {
|
|
13797
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13798
|
+
exports.GetDefaultConfigCommand = exports.$Command = void 0;
|
|
13799
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13800
|
+
const middleware_serde_1 = require$$1;
|
|
13801
|
+
const smithy_client_1 = require$$71;
|
|
13802
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13803
|
+
class GetDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13804
|
+
.m(function (Command, cs, config, o) {
|
|
13805
|
+
return [
|
|
13806
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13807
|
+
];
|
|
13808
|
+
})
|
|
13809
|
+
.s("Superposition", "GetDefaultConfig", {})
|
|
13810
|
+
.n("SuperpositionClient", "GetDefaultConfigCommand")
|
|
13811
|
+
.f(void 0, void 0)
|
|
13812
|
+
.ser(Aws_restJson1_1.se_GetDefaultConfigCommand)
|
|
13813
|
+
.de(Aws_restJson1_1.de_GetDefaultConfigCommand)
|
|
13814
|
+
.build() {
|
|
13815
|
+
}
|
|
13816
|
+
exports.GetDefaultConfigCommand = GetDefaultConfigCommand;
|
|
13817
|
+
} (GetDefaultConfigCommand));
|
|
13818
|
+
return GetDefaultConfigCommand;
|
|
13819
|
+
}
|
|
13820
|
+
|
|
13629
13821
|
var GetDimensionCommand = {};
|
|
13630
13822
|
|
|
13631
13823
|
var hasRequiredGetDimensionCommand;
|
|
@@ -13638,7 +13830,7 @@ function requireGetDimensionCommand () {
|
|
|
13638
13830
|
exports.GetDimensionCommand = exports.$Command = void 0;
|
|
13639
13831
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13640
13832
|
const middleware_serde_1 = require$$1;
|
|
13641
|
-
const smithy_client_1 = require$$
|
|
13833
|
+
const smithy_client_1 = require$$71;
|
|
13642
13834
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13643
13835
|
class GetDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
13644
13836
|
.m(function (Command, cs, config, o) {
|
|
@@ -13670,7 +13862,7 @@ function requireGetExperimentCommand () {
|
|
|
13670
13862
|
exports.GetExperimentCommand = exports.$Command = void 0;
|
|
13671
13863
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13672
13864
|
const middleware_serde_1 = require$$1;
|
|
13673
|
-
const smithy_client_1 = require$$
|
|
13865
|
+
const smithy_client_1 = require$$71;
|
|
13674
13866
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13675
13867
|
class GetExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
13676
13868
|
.m(function (Command, cs, config, o) {
|
|
@@ -13702,7 +13894,7 @@ function requireGetExperimentGroupCommand () {
|
|
|
13702
13894
|
exports.GetExperimentGroupCommand = exports.$Command = void 0;
|
|
13703
13895
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13704
13896
|
const middleware_serde_1 = require$$1;
|
|
13705
|
-
const smithy_client_1 = require$$
|
|
13897
|
+
const smithy_client_1 = require$$71;
|
|
13706
13898
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13707
13899
|
class GetExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13708
13900
|
.m(function (Command, cs, config, o) {
|
|
@@ -13734,7 +13926,7 @@ function requireGetFunctionCommand () {
|
|
|
13734
13926
|
exports.GetFunctionCommand = exports.$Command = void 0;
|
|
13735
13927
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13736
13928
|
const middleware_serde_1 = require$$1;
|
|
13737
|
-
const smithy_client_1 = require$$
|
|
13929
|
+
const smithy_client_1 = require$$71;
|
|
13738
13930
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13739
13931
|
class GetFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
13740
13932
|
.m(function (Command, cs, config, o) {
|
|
@@ -13766,7 +13958,7 @@ function requireGetOrganisationCommand () {
|
|
|
13766
13958
|
exports.GetOrganisationCommand = exports.$Command = void 0;
|
|
13767
13959
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13768
13960
|
const middleware_serde_1 = require$$1;
|
|
13769
|
-
const smithy_client_1 = require$$
|
|
13961
|
+
const smithy_client_1 = require$$71;
|
|
13770
13962
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13771
13963
|
class GetOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
13772
13964
|
.m(function (Command, cs, config, o) {
|
|
@@ -13798,7 +13990,7 @@ function requireGetResolvedConfigCommand () {
|
|
|
13798
13990
|
exports.GetResolvedConfigCommand = exports.$Command = void 0;
|
|
13799
13991
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13800
13992
|
const middleware_serde_1 = require$$1;
|
|
13801
|
-
const smithy_client_1 = require$$
|
|
13993
|
+
const smithy_client_1 = require$$71;
|
|
13802
13994
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13803
13995
|
class GetResolvedConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13804
13996
|
.m(function (Command, cs, config, o) {
|
|
@@ -13818,6 +14010,38 @@ function requireGetResolvedConfigCommand () {
|
|
|
13818
14010
|
return GetResolvedConfigCommand;
|
|
13819
14011
|
}
|
|
13820
14012
|
|
|
14013
|
+
var GetTypeTemplateCommand = {};
|
|
14014
|
+
|
|
14015
|
+
var hasRequiredGetTypeTemplateCommand;
|
|
14016
|
+
|
|
14017
|
+
function requireGetTypeTemplateCommand () {
|
|
14018
|
+
if (hasRequiredGetTypeTemplateCommand) return GetTypeTemplateCommand;
|
|
14019
|
+
hasRequiredGetTypeTemplateCommand = 1;
|
|
14020
|
+
(function (exports) {
|
|
14021
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14022
|
+
exports.GetTypeTemplateCommand = exports.$Command = void 0;
|
|
14023
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14024
|
+
const middleware_serde_1 = require$$1;
|
|
14025
|
+
const smithy_client_1 = require$$71;
|
|
14026
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14027
|
+
class GetTypeTemplateCommand extends smithy_client_1.Command.classBuilder()
|
|
14028
|
+
.m(function (Command, cs, config, o) {
|
|
14029
|
+
return [
|
|
14030
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14031
|
+
];
|
|
14032
|
+
})
|
|
14033
|
+
.s("Superposition", "GetTypeTemplate", {})
|
|
14034
|
+
.n("SuperpositionClient", "GetTypeTemplateCommand")
|
|
14035
|
+
.f(void 0, void 0)
|
|
14036
|
+
.ser(Aws_restJson1_1.se_GetTypeTemplateCommand)
|
|
14037
|
+
.de(Aws_restJson1_1.de_GetTypeTemplateCommand)
|
|
14038
|
+
.build() {
|
|
14039
|
+
}
|
|
14040
|
+
exports.GetTypeTemplateCommand = GetTypeTemplateCommand;
|
|
14041
|
+
} (GetTypeTemplateCommand));
|
|
14042
|
+
return GetTypeTemplateCommand;
|
|
14043
|
+
}
|
|
14044
|
+
|
|
13821
14045
|
var GetTypeTemplatesListCommand = {};
|
|
13822
14046
|
|
|
13823
14047
|
var hasRequiredGetTypeTemplatesListCommand;
|
|
@@ -13830,7 +14054,7 @@ function requireGetTypeTemplatesListCommand () {
|
|
|
13830
14054
|
exports.GetTypeTemplatesListCommand = exports.$Command = void 0;
|
|
13831
14055
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13832
14056
|
const middleware_serde_1 = require$$1;
|
|
13833
|
-
const smithy_client_1 = require$$
|
|
14057
|
+
const smithy_client_1 = require$$71;
|
|
13834
14058
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13835
14059
|
class GetTypeTemplatesListCommand extends smithy_client_1.Command.classBuilder()
|
|
13836
14060
|
.m(function (Command, cs, config, o) {
|
|
@@ -13850,6 +14074,70 @@ function requireGetTypeTemplatesListCommand () {
|
|
|
13850
14074
|
return GetTypeTemplatesListCommand;
|
|
13851
14075
|
}
|
|
13852
14076
|
|
|
14077
|
+
var GetVersionCommand = {};
|
|
14078
|
+
|
|
14079
|
+
var hasRequiredGetVersionCommand;
|
|
14080
|
+
|
|
14081
|
+
function requireGetVersionCommand () {
|
|
14082
|
+
if (hasRequiredGetVersionCommand) return GetVersionCommand;
|
|
14083
|
+
hasRequiredGetVersionCommand = 1;
|
|
14084
|
+
(function (exports) {
|
|
14085
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14086
|
+
exports.GetVersionCommand = exports.$Command = void 0;
|
|
14087
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14088
|
+
const middleware_serde_1 = require$$1;
|
|
14089
|
+
const smithy_client_1 = require$$71;
|
|
14090
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14091
|
+
class GetVersionCommand extends smithy_client_1.Command.classBuilder()
|
|
14092
|
+
.m(function (Command, cs, config, o) {
|
|
14093
|
+
return [
|
|
14094
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14095
|
+
];
|
|
14096
|
+
})
|
|
14097
|
+
.s("Superposition", "GetVersion", {})
|
|
14098
|
+
.n("SuperpositionClient", "GetVersionCommand")
|
|
14099
|
+
.f(void 0, void 0)
|
|
14100
|
+
.ser(Aws_restJson1_1.se_GetVersionCommand)
|
|
14101
|
+
.de(Aws_restJson1_1.de_GetVersionCommand)
|
|
14102
|
+
.build() {
|
|
14103
|
+
}
|
|
14104
|
+
exports.GetVersionCommand = GetVersionCommand;
|
|
14105
|
+
} (GetVersionCommand));
|
|
14106
|
+
return GetVersionCommand;
|
|
14107
|
+
}
|
|
14108
|
+
|
|
14109
|
+
var GetWebhookByEventCommand = {};
|
|
14110
|
+
|
|
14111
|
+
var hasRequiredGetWebhookByEventCommand;
|
|
14112
|
+
|
|
14113
|
+
function requireGetWebhookByEventCommand () {
|
|
14114
|
+
if (hasRequiredGetWebhookByEventCommand) return GetWebhookByEventCommand;
|
|
14115
|
+
hasRequiredGetWebhookByEventCommand = 1;
|
|
14116
|
+
(function (exports) {
|
|
14117
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14118
|
+
exports.GetWebhookByEventCommand = exports.$Command = void 0;
|
|
14119
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14120
|
+
const middleware_serde_1 = require$$1;
|
|
14121
|
+
const smithy_client_1 = require$$71;
|
|
14122
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14123
|
+
class GetWebhookByEventCommand extends smithy_client_1.Command.classBuilder()
|
|
14124
|
+
.m(function (Command, cs, config, o) {
|
|
14125
|
+
return [
|
|
14126
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14127
|
+
];
|
|
14128
|
+
})
|
|
14129
|
+
.s("Superposition", "GetWebhookByEvent", {})
|
|
14130
|
+
.n("SuperpositionClient", "GetWebhookByEventCommand")
|
|
14131
|
+
.f(void 0, void 0)
|
|
14132
|
+
.ser(Aws_restJson1_1.se_GetWebhookByEventCommand)
|
|
14133
|
+
.de(Aws_restJson1_1.de_GetWebhookByEventCommand)
|
|
14134
|
+
.build() {
|
|
14135
|
+
}
|
|
14136
|
+
exports.GetWebhookByEventCommand = GetWebhookByEventCommand;
|
|
14137
|
+
} (GetWebhookByEventCommand));
|
|
14138
|
+
return GetWebhookByEventCommand;
|
|
14139
|
+
}
|
|
14140
|
+
|
|
13853
14141
|
var GetWebhookCommand = {};
|
|
13854
14142
|
|
|
13855
14143
|
var hasRequiredGetWebhookCommand;
|
|
@@ -13862,7 +14150,7 @@ function requireGetWebhookCommand () {
|
|
|
13862
14150
|
exports.GetWebhookCommand = exports.$Command = void 0;
|
|
13863
14151
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13864
14152
|
const middleware_serde_1 = require$$1;
|
|
13865
|
-
const smithy_client_1 = require$$
|
|
14153
|
+
const smithy_client_1 = require$$71;
|
|
13866
14154
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13867
14155
|
class GetWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
13868
14156
|
.m(function (Command, cs, config, o) {
|
|
@@ -13882,6 +14170,38 @@ function requireGetWebhookCommand () {
|
|
|
13882
14170
|
return GetWebhookCommand;
|
|
13883
14171
|
}
|
|
13884
14172
|
|
|
14173
|
+
var GetWorkspaceCommand = {};
|
|
14174
|
+
|
|
14175
|
+
var hasRequiredGetWorkspaceCommand;
|
|
14176
|
+
|
|
14177
|
+
function requireGetWorkspaceCommand () {
|
|
14178
|
+
if (hasRequiredGetWorkspaceCommand) return GetWorkspaceCommand;
|
|
14179
|
+
hasRequiredGetWorkspaceCommand = 1;
|
|
14180
|
+
(function (exports) {
|
|
14181
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14182
|
+
exports.GetWorkspaceCommand = exports.$Command = void 0;
|
|
14183
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14184
|
+
const middleware_serde_1 = require$$1;
|
|
14185
|
+
const smithy_client_1 = require$$71;
|
|
14186
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14187
|
+
class GetWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
14188
|
+
.m(function (Command, cs, config, o) {
|
|
14189
|
+
return [
|
|
14190
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14191
|
+
];
|
|
14192
|
+
})
|
|
14193
|
+
.s("Superposition", "GetWorkspace", {})
|
|
14194
|
+
.n("SuperpositionClient", "GetWorkspaceCommand")
|
|
14195
|
+
.f(void 0, void 0)
|
|
14196
|
+
.ser(Aws_restJson1_1.se_GetWorkspaceCommand)
|
|
14197
|
+
.de(Aws_restJson1_1.de_GetWorkspaceCommand)
|
|
14198
|
+
.build() {
|
|
14199
|
+
}
|
|
14200
|
+
exports.GetWorkspaceCommand = GetWorkspaceCommand;
|
|
14201
|
+
} (GetWorkspaceCommand));
|
|
14202
|
+
return GetWorkspaceCommand;
|
|
14203
|
+
}
|
|
14204
|
+
|
|
13885
14205
|
var ListAuditLogsCommand = {};
|
|
13886
14206
|
|
|
13887
14207
|
var hasRequiredListAuditLogsCommand;
|
|
@@ -13894,7 +14214,7 @@ function requireListAuditLogsCommand () {
|
|
|
13894
14214
|
exports.ListAuditLogsCommand = exports.$Command = void 0;
|
|
13895
14215
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13896
14216
|
const middleware_serde_1 = require$$1;
|
|
13897
|
-
const smithy_client_1 = require$$
|
|
14217
|
+
const smithy_client_1 = require$$71;
|
|
13898
14218
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13899
14219
|
class ListAuditLogsCommand extends smithy_client_1.Command.classBuilder()
|
|
13900
14220
|
.m(function (Command, cs, config, o) {
|
|
@@ -13926,7 +14246,7 @@ function requireListContextsCommand () {
|
|
|
13926
14246
|
exports.ListContextsCommand = exports.$Command = void 0;
|
|
13927
14247
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13928
14248
|
const middleware_serde_1 = require$$1;
|
|
13929
|
-
const smithy_client_1 = require$$
|
|
14249
|
+
const smithy_client_1 = require$$71;
|
|
13930
14250
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13931
14251
|
class ListContextsCommand extends smithy_client_1.Command.classBuilder()
|
|
13932
14252
|
.m(function (Command, cs, config, o) {
|
|
@@ -13958,7 +14278,7 @@ function requireListDefaultConfigsCommand () {
|
|
|
13958
14278
|
exports.ListDefaultConfigsCommand = exports.$Command = void 0;
|
|
13959
14279
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13960
14280
|
const middleware_serde_1 = require$$1;
|
|
13961
|
-
const smithy_client_1 = require$$
|
|
14281
|
+
const smithy_client_1 = require$$71;
|
|
13962
14282
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13963
14283
|
class ListDefaultConfigsCommand extends smithy_client_1.Command.classBuilder()
|
|
13964
14284
|
.m(function (Command, cs, config, o) {
|
|
@@ -13990,7 +14310,7 @@ function requireListDimensionsCommand () {
|
|
|
13990
14310
|
exports.ListDimensionsCommand = exports.$Command = void 0;
|
|
13991
14311
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13992
14312
|
const middleware_serde_1 = require$$1;
|
|
13993
|
-
const smithy_client_1 = require$$
|
|
14313
|
+
const smithy_client_1 = require$$71;
|
|
13994
14314
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13995
14315
|
class ListDimensionsCommand extends smithy_client_1.Command.classBuilder()
|
|
13996
14316
|
.m(function (Command, cs, config, o) {
|
|
@@ -14022,7 +14342,7 @@ function requireListExperimentCommand () {
|
|
|
14022
14342
|
exports.ListExperimentCommand = exports.$Command = void 0;
|
|
14023
14343
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14024
14344
|
const middleware_serde_1 = require$$1;
|
|
14025
|
-
const smithy_client_1 = require$$
|
|
14345
|
+
const smithy_client_1 = require$$71;
|
|
14026
14346
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14027
14347
|
class ListExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14028
14348
|
.m(function (Command, cs, config, o) {
|
|
@@ -14054,7 +14374,7 @@ function requireListExperimentGroupsCommand () {
|
|
|
14054
14374
|
exports.ListExperimentGroupsCommand = exports.$Command = void 0;
|
|
14055
14375
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14056
14376
|
const middleware_serde_1 = require$$1;
|
|
14057
|
-
const smithy_client_1 = require$$
|
|
14377
|
+
const smithy_client_1 = require$$71;
|
|
14058
14378
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14059
14379
|
class ListExperimentGroupsCommand extends smithy_client_1.Command.classBuilder()
|
|
14060
14380
|
.m(function (Command, cs, config, o) {
|
|
@@ -14086,7 +14406,7 @@ function requireListFunctionCommand () {
|
|
|
14086
14406
|
exports.ListFunctionCommand = exports.$Command = void 0;
|
|
14087
14407
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14088
14408
|
const middleware_serde_1 = require$$1;
|
|
14089
|
-
const smithy_client_1 = require$$
|
|
14409
|
+
const smithy_client_1 = require$$71;
|
|
14090
14410
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14091
14411
|
class ListFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
14092
14412
|
.m(function (Command, cs, config, o) {
|
|
@@ -14118,7 +14438,7 @@ function requireListOrganisationCommand () {
|
|
|
14118
14438
|
exports.ListOrganisationCommand = exports.$Command = void 0;
|
|
14119
14439
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14120
14440
|
const middleware_serde_1 = require$$1;
|
|
14121
|
-
const smithy_client_1 = require$$
|
|
14441
|
+
const smithy_client_1 = require$$71;
|
|
14122
14442
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14123
14443
|
class ListOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
14124
14444
|
.m(function (Command, cs, config, o) {
|
|
@@ -14150,7 +14470,7 @@ function requireListVersionsCommand () {
|
|
|
14150
14470
|
exports.ListVersionsCommand = exports.$Command = void 0;
|
|
14151
14471
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14152
14472
|
const middleware_serde_1 = require$$1;
|
|
14153
|
-
const smithy_client_1 = require$$
|
|
14473
|
+
const smithy_client_1 = require$$71;
|
|
14154
14474
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14155
14475
|
class ListVersionsCommand extends smithy_client_1.Command.classBuilder()
|
|
14156
14476
|
.m(function (Command, cs, config, o) {
|
|
@@ -14182,7 +14502,7 @@ function requireListWebhookCommand () {
|
|
|
14182
14502
|
exports.ListWebhookCommand = exports.$Command = void 0;
|
|
14183
14503
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14184
14504
|
const middleware_serde_1 = require$$1;
|
|
14185
|
-
const smithy_client_1 = require$$
|
|
14505
|
+
const smithy_client_1 = require$$71;
|
|
14186
14506
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14187
14507
|
class ListWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
14188
14508
|
.m(function (Command, cs, config, o) {
|
|
@@ -14214,7 +14534,7 @@ function requireListWorkspaceCommand () {
|
|
|
14214
14534
|
exports.ListWorkspaceCommand = exports.$Command = void 0;
|
|
14215
14535
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14216
14536
|
const middleware_serde_1 = require$$1;
|
|
14217
|
-
const smithy_client_1 = require$$
|
|
14537
|
+
const smithy_client_1 = require$$71;
|
|
14218
14538
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14219
14539
|
class ListWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
14220
14540
|
.m(function (Command, cs, config, o) {
|
|
@@ -14246,7 +14566,7 @@ function requireMigrateWorkspaceSchemaCommand () {
|
|
|
14246
14566
|
exports.MigrateWorkspaceSchemaCommand = exports.$Command = void 0;
|
|
14247
14567
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14248
14568
|
const middleware_serde_1 = require$$1;
|
|
14249
|
-
const smithy_client_1 = require$$
|
|
14569
|
+
const smithy_client_1 = require$$71;
|
|
14250
14570
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14251
14571
|
class MigrateWorkspaceSchemaCommand extends smithy_client_1.Command.classBuilder()
|
|
14252
14572
|
.m(function (Command, cs, config, o) {
|
|
@@ -14278,7 +14598,7 @@ function requireMoveContextCommand () {
|
|
|
14278
14598
|
exports.MoveContextCommand = exports.$Command = void 0;
|
|
14279
14599
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14280
14600
|
const middleware_serde_1 = require$$1;
|
|
14281
|
-
const smithy_client_1 = require$$
|
|
14601
|
+
const smithy_client_1 = require$$71;
|
|
14282
14602
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14283
14603
|
class MoveContextCommand extends smithy_client_1.Command.classBuilder()
|
|
14284
14604
|
.m(function (Command, cs, config, o) {
|
|
@@ -14310,7 +14630,7 @@ function requirePauseExperimentCommand () {
|
|
|
14310
14630
|
exports.PauseExperimentCommand = exports.$Command = void 0;
|
|
14311
14631
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14312
14632
|
const middleware_serde_1 = require$$1;
|
|
14313
|
-
const smithy_client_1 = require$$
|
|
14633
|
+
const smithy_client_1 = require$$71;
|
|
14314
14634
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14315
14635
|
class PauseExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14316
14636
|
.m(function (Command, cs, config, o) {
|
|
@@ -14342,7 +14662,7 @@ function requirePublishCommand () {
|
|
|
14342
14662
|
exports.PublishCommand = exports.$Command = void 0;
|
|
14343
14663
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14344
14664
|
const middleware_serde_1 = require$$1;
|
|
14345
|
-
const smithy_client_1 = require$$
|
|
14665
|
+
const smithy_client_1 = require$$71;
|
|
14346
14666
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14347
14667
|
class PublishCommand extends smithy_client_1.Command.classBuilder()
|
|
14348
14668
|
.m(function (Command, cs, config, o) {
|
|
@@ -14374,7 +14694,7 @@ function requireRampExperimentCommand () {
|
|
|
14374
14694
|
exports.RampExperimentCommand = exports.$Command = void 0;
|
|
14375
14695
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14376
14696
|
const middleware_serde_1 = require$$1;
|
|
14377
|
-
const smithy_client_1 = require$$
|
|
14697
|
+
const smithy_client_1 = require$$71;
|
|
14378
14698
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14379
14699
|
class RampExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14380
14700
|
.m(function (Command, cs, config, o) {
|
|
@@ -14406,7 +14726,7 @@ function requireRemoveMembersFromGroupCommand () {
|
|
|
14406
14726
|
exports.RemoveMembersFromGroupCommand = exports.$Command = void 0;
|
|
14407
14727
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14408
14728
|
const middleware_serde_1 = require$$1;
|
|
14409
|
-
const smithy_client_1 = require$$
|
|
14729
|
+
const smithy_client_1 = require$$71;
|
|
14410
14730
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14411
14731
|
class RemoveMembersFromGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
14412
14732
|
.m(function (Command, cs, config, o) {
|
|
@@ -14438,7 +14758,7 @@ function requireResumeExperimentCommand () {
|
|
|
14438
14758
|
exports.ResumeExperimentCommand = exports.$Command = void 0;
|
|
14439
14759
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14440
14760
|
const middleware_serde_1 = require$$1;
|
|
14441
|
-
const smithy_client_1 = require$$
|
|
14761
|
+
const smithy_client_1 = require$$71;
|
|
14442
14762
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14443
14763
|
class ResumeExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14444
14764
|
.m(function (Command, cs, config, o) {
|
|
@@ -14470,7 +14790,7 @@ function requireTestCommand () {
|
|
|
14470
14790
|
exports.TestCommand = exports.$Command = void 0;
|
|
14471
14791
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14472
14792
|
const middleware_serde_1 = require$$1;
|
|
14473
|
-
const smithy_client_1 = require$$
|
|
14793
|
+
const smithy_client_1 = require$$71;
|
|
14474
14794
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14475
14795
|
class TestCommand extends smithy_client_1.Command.classBuilder()
|
|
14476
14796
|
.m(function (Command, cs, config, o) {
|
|
@@ -14502,7 +14822,7 @@ function requireUpdateDefaultConfigCommand () {
|
|
|
14502
14822
|
exports.UpdateDefaultConfigCommand = exports.$Command = void 0;
|
|
14503
14823
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14504
14824
|
const middleware_serde_1 = require$$1;
|
|
14505
|
-
const smithy_client_1 = require$$
|
|
14825
|
+
const smithy_client_1 = require$$71;
|
|
14506
14826
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14507
14827
|
class UpdateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
14508
14828
|
.m(function (Command, cs, config, o) {
|
|
@@ -14534,7 +14854,7 @@ function requireUpdateDimensionCommand () {
|
|
|
14534
14854
|
exports.UpdateDimensionCommand = exports.$Command = void 0;
|
|
14535
14855
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14536
14856
|
const middleware_serde_1 = require$$1;
|
|
14537
|
-
const smithy_client_1 = require$$
|
|
14857
|
+
const smithy_client_1 = require$$71;
|
|
14538
14858
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14539
14859
|
class UpdateDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
14540
14860
|
.m(function (Command, cs, config, o) {
|
|
@@ -14566,7 +14886,7 @@ function requireUpdateExperimentGroupCommand () {
|
|
|
14566
14886
|
exports.UpdateExperimentGroupCommand = exports.$Command = void 0;
|
|
14567
14887
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14568
14888
|
const middleware_serde_1 = require$$1;
|
|
14569
|
-
const smithy_client_1 = require$$
|
|
14889
|
+
const smithy_client_1 = require$$71;
|
|
14570
14890
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14571
14891
|
class UpdateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
14572
14892
|
.m(function (Command, cs, config, o) {
|
|
@@ -14598,7 +14918,7 @@ function requireUpdateFunctionCommand () {
|
|
|
14598
14918
|
exports.UpdateFunctionCommand = exports.$Command = void 0;
|
|
14599
14919
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14600
14920
|
const middleware_serde_1 = require$$1;
|
|
14601
|
-
const smithy_client_1 = require$$
|
|
14921
|
+
const smithy_client_1 = require$$71;
|
|
14602
14922
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14603
14923
|
class UpdateFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
14604
14924
|
.m(function (Command, cs, config, o) {
|
|
@@ -14630,7 +14950,7 @@ function requireUpdateOrganisationCommand () {
|
|
|
14630
14950
|
exports.UpdateOrganisationCommand = exports.$Command = void 0;
|
|
14631
14951
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14632
14952
|
const middleware_serde_1 = require$$1;
|
|
14633
|
-
const smithy_client_1 = require$$
|
|
14953
|
+
const smithy_client_1 = require$$71;
|
|
14634
14954
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14635
14955
|
class UpdateOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
14636
14956
|
.m(function (Command, cs, config, o) {
|
|
@@ -14662,7 +14982,7 @@ function requireUpdateOverrideCommand () {
|
|
|
14662
14982
|
exports.UpdateOverrideCommand = exports.$Command = void 0;
|
|
14663
14983
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14664
14984
|
const middleware_serde_1 = require$$1;
|
|
14665
|
-
const smithy_client_1 = require$$
|
|
14985
|
+
const smithy_client_1 = require$$71;
|
|
14666
14986
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14667
14987
|
class UpdateOverrideCommand extends smithy_client_1.Command.classBuilder()
|
|
14668
14988
|
.m(function (Command, cs, config, o) {
|
|
@@ -14694,7 +15014,7 @@ function requireUpdateOverridesExperimentCommand () {
|
|
|
14694
15014
|
exports.UpdateOverridesExperimentCommand = exports.$Command = void 0;
|
|
14695
15015
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14696
15016
|
const middleware_serde_1 = require$$1;
|
|
14697
|
-
const smithy_client_1 = require$$
|
|
15017
|
+
const smithy_client_1 = require$$71;
|
|
14698
15018
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14699
15019
|
class UpdateOverridesExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14700
15020
|
.m(function (Command, cs, config, o) {
|
|
@@ -14726,7 +15046,7 @@ function requireUpdateTypeTemplatesCommand () {
|
|
|
14726
15046
|
exports.UpdateTypeTemplatesCommand = exports.$Command = void 0;
|
|
14727
15047
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14728
15048
|
const middleware_serde_1 = require$$1;
|
|
14729
|
-
const smithy_client_1 = require$$
|
|
15049
|
+
const smithy_client_1 = require$$71;
|
|
14730
15050
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14731
15051
|
class UpdateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
14732
15052
|
.m(function (Command, cs, config, o) {
|
|
@@ -14758,7 +15078,7 @@ function requireUpdateWebhookCommand () {
|
|
|
14758
15078
|
exports.UpdateWebhookCommand = exports.$Command = void 0;
|
|
14759
15079
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14760
15080
|
const middleware_serde_1 = require$$1;
|
|
14761
|
-
const smithy_client_1 = require$$
|
|
15081
|
+
const smithy_client_1 = require$$71;
|
|
14762
15082
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14763
15083
|
class UpdateWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
14764
15084
|
.m(function (Command, cs, config, o) {
|
|
@@ -14790,7 +15110,7 @@ function requireUpdateWorkspaceCommand () {
|
|
|
14790
15110
|
exports.UpdateWorkspaceCommand = exports.$Command = void 0;
|
|
14791
15111
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14792
15112
|
const middleware_serde_1 = require$$1;
|
|
14793
|
-
const smithy_client_1 = require$$
|
|
15113
|
+
const smithy_client_1 = require$$71;
|
|
14794
15114
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14795
15115
|
class UpdateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
14796
15116
|
.m(function (Command, cs, config, o) {
|
|
@@ -14810,6 +15130,38 @@ function requireUpdateWorkspaceCommand () {
|
|
|
14810
15130
|
return UpdateWorkspaceCommand;
|
|
14811
15131
|
}
|
|
14812
15132
|
|
|
15133
|
+
var ValidateContextCommand = {};
|
|
15134
|
+
|
|
15135
|
+
var hasRequiredValidateContextCommand;
|
|
15136
|
+
|
|
15137
|
+
function requireValidateContextCommand () {
|
|
15138
|
+
if (hasRequiredValidateContextCommand) return ValidateContextCommand;
|
|
15139
|
+
hasRequiredValidateContextCommand = 1;
|
|
15140
|
+
(function (exports) {
|
|
15141
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15142
|
+
exports.ValidateContextCommand = exports.$Command = void 0;
|
|
15143
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15144
|
+
const middleware_serde_1 = require$$1;
|
|
15145
|
+
const smithy_client_1 = require$$71;
|
|
15146
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15147
|
+
class ValidateContextCommand extends smithy_client_1.Command.classBuilder()
|
|
15148
|
+
.m(function (Command, cs, config, o) {
|
|
15149
|
+
return [
|
|
15150
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
15151
|
+
];
|
|
15152
|
+
})
|
|
15153
|
+
.s("Superposition", "ValidateContext", {})
|
|
15154
|
+
.n("SuperpositionClient", "ValidateContextCommand")
|
|
15155
|
+
.f(void 0, void 0)
|
|
15156
|
+
.ser(Aws_restJson1_1.se_ValidateContextCommand)
|
|
15157
|
+
.de(Aws_restJson1_1.de_ValidateContextCommand)
|
|
15158
|
+
.build() {
|
|
15159
|
+
}
|
|
15160
|
+
exports.ValidateContextCommand = ValidateContextCommand;
|
|
15161
|
+
} (ValidateContextCommand));
|
|
15162
|
+
return ValidateContextCommand;
|
|
15163
|
+
}
|
|
15164
|
+
|
|
14813
15165
|
var WeightRecomputeCommand = {};
|
|
14814
15166
|
|
|
14815
15167
|
var hasRequiredWeightRecomputeCommand;
|
|
@@ -14822,7 +15174,7 @@ function requireWeightRecomputeCommand () {
|
|
|
14822
15174
|
exports.WeightRecomputeCommand = exports.$Command = void 0;
|
|
14823
15175
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14824
15176
|
const middleware_serde_1 = require$$1;
|
|
14825
|
-
const smithy_client_1 = require$$
|
|
15177
|
+
const smithy_client_1 = require$$71;
|
|
14826
15178
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14827
15179
|
class WeightRecomputeCommand extends smithy_client_1.Command.classBuilder()
|
|
14828
15180
|
.m(function (Command, cs, config, o) {
|
|
@@ -14870,19 +15222,25 @@ function requireSuperposition () {
|
|
|
14870
15222
|
const DeleteExperimentGroupCommand_1 = requireDeleteExperimentGroupCommand();
|
|
14871
15223
|
const DeleteFunctionCommand_1 = requireDeleteFunctionCommand();
|
|
14872
15224
|
const DeleteTypeTemplatesCommand_1 = requireDeleteTypeTemplatesCommand();
|
|
15225
|
+
const DeleteWebhookCommand_1 = requireDeleteWebhookCommand();
|
|
14873
15226
|
const DiscardExperimentCommand_1 = requireDiscardExperimentCommand();
|
|
14874
15227
|
const GetConfigCommand_1 = requireGetConfigCommand();
|
|
14875
15228
|
const GetConfigFastCommand_1 = requireGetConfigFastCommand();
|
|
14876
15229
|
const GetContextCommand_1 = requireGetContextCommand();
|
|
14877
15230
|
const GetContextFromConditionCommand_1 = requireGetContextFromConditionCommand();
|
|
15231
|
+
const GetDefaultConfigCommand_1 = requireGetDefaultConfigCommand();
|
|
14878
15232
|
const GetDimensionCommand_1 = requireGetDimensionCommand();
|
|
14879
15233
|
const GetExperimentCommand_1 = requireGetExperimentCommand();
|
|
14880
15234
|
const GetExperimentGroupCommand_1 = requireGetExperimentGroupCommand();
|
|
14881
15235
|
const GetFunctionCommand_1 = requireGetFunctionCommand();
|
|
14882
15236
|
const GetOrganisationCommand_1 = requireGetOrganisationCommand();
|
|
14883
15237
|
const GetResolvedConfigCommand_1 = requireGetResolvedConfigCommand();
|
|
15238
|
+
const GetTypeTemplateCommand_1 = requireGetTypeTemplateCommand();
|
|
14884
15239
|
const GetTypeTemplatesListCommand_1 = requireGetTypeTemplatesListCommand();
|
|
15240
|
+
const GetVersionCommand_1 = requireGetVersionCommand();
|
|
15241
|
+
const GetWebhookByEventCommand_1 = requireGetWebhookByEventCommand();
|
|
14885
15242
|
const GetWebhookCommand_1 = requireGetWebhookCommand();
|
|
15243
|
+
const GetWorkspaceCommand_1 = requireGetWorkspaceCommand();
|
|
14886
15244
|
const ListAuditLogsCommand_1 = requireListAuditLogsCommand();
|
|
14887
15245
|
const ListContextsCommand_1 = requireListContextsCommand();
|
|
14888
15246
|
const ListDefaultConfigsCommand_1 = requireListDefaultConfigsCommand();
|
|
@@ -14912,8 +15270,9 @@ function requireSuperposition () {
|
|
|
14912
15270
|
const UpdateTypeTemplatesCommand_1 = requireUpdateTypeTemplatesCommand();
|
|
14913
15271
|
const UpdateWebhookCommand_1 = requireUpdateWebhookCommand();
|
|
14914
15272
|
const UpdateWorkspaceCommand_1 = requireUpdateWorkspaceCommand();
|
|
15273
|
+
const ValidateContextCommand_1 = requireValidateContextCommand();
|
|
14915
15274
|
const WeightRecomputeCommand_1 = requireWeightRecomputeCommand();
|
|
14916
|
-
const smithy_client_1 = require$$
|
|
15275
|
+
const smithy_client_1 = require$$71;
|
|
14917
15276
|
const commands = {
|
|
14918
15277
|
AddMembersToGroupCommand: AddMembersToGroupCommand_1.AddMembersToGroupCommand,
|
|
14919
15278
|
ApplicableVariantsCommand: ApplicableVariantsCommand_1.ApplicableVariantsCommand,
|
|
@@ -14935,19 +15294,25 @@ function requireSuperposition () {
|
|
|
14935
15294
|
DeleteExperimentGroupCommand: DeleteExperimentGroupCommand_1.DeleteExperimentGroupCommand,
|
|
14936
15295
|
DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand,
|
|
14937
15296
|
DeleteTypeTemplatesCommand: DeleteTypeTemplatesCommand_1.DeleteTypeTemplatesCommand,
|
|
15297
|
+
DeleteWebhookCommand: DeleteWebhookCommand_1.DeleteWebhookCommand,
|
|
14938
15298
|
DiscardExperimentCommand: DiscardExperimentCommand_1.DiscardExperimentCommand,
|
|
14939
15299
|
GetConfigCommand: GetConfigCommand_1.GetConfigCommand,
|
|
14940
15300
|
GetConfigFastCommand: GetConfigFastCommand_1.GetConfigFastCommand,
|
|
14941
15301
|
GetContextCommand: GetContextCommand_1.GetContextCommand,
|
|
14942
15302
|
GetContextFromConditionCommand: GetContextFromConditionCommand_1.GetContextFromConditionCommand,
|
|
15303
|
+
GetDefaultConfigCommand: GetDefaultConfigCommand_1.GetDefaultConfigCommand,
|
|
14943
15304
|
GetDimensionCommand: GetDimensionCommand_1.GetDimensionCommand,
|
|
14944
15305
|
GetExperimentCommand: GetExperimentCommand_1.GetExperimentCommand,
|
|
14945
15306
|
GetExperimentGroupCommand: GetExperimentGroupCommand_1.GetExperimentGroupCommand,
|
|
14946
15307
|
GetFunctionCommand: GetFunctionCommand_1.GetFunctionCommand,
|
|
14947
15308
|
GetOrganisationCommand: GetOrganisationCommand_1.GetOrganisationCommand,
|
|
14948
15309
|
GetResolvedConfigCommand: GetResolvedConfigCommand_1.GetResolvedConfigCommand,
|
|
15310
|
+
GetTypeTemplateCommand: GetTypeTemplateCommand_1.GetTypeTemplateCommand,
|
|
14949
15311
|
GetTypeTemplatesListCommand: GetTypeTemplatesListCommand_1.GetTypeTemplatesListCommand,
|
|
15312
|
+
GetVersionCommand: GetVersionCommand_1.GetVersionCommand,
|
|
14950
15313
|
GetWebhookCommand: GetWebhookCommand_1.GetWebhookCommand,
|
|
15314
|
+
GetWebhookByEventCommand: GetWebhookByEventCommand_1.GetWebhookByEventCommand,
|
|
15315
|
+
GetWorkspaceCommand: GetWorkspaceCommand_1.GetWorkspaceCommand,
|
|
14951
15316
|
ListAuditLogsCommand: ListAuditLogsCommand_1.ListAuditLogsCommand,
|
|
14952
15317
|
ListContextsCommand: ListContextsCommand_1.ListContextsCommand,
|
|
14953
15318
|
ListDefaultConfigsCommand: ListDefaultConfigsCommand_1.ListDefaultConfigsCommand,
|
|
@@ -14977,6 +15342,7 @@ function requireSuperposition () {
|
|
|
14977
15342
|
UpdateTypeTemplatesCommand: UpdateTypeTemplatesCommand_1.UpdateTypeTemplatesCommand,
|
|
14978
15343
|
UpdateWebhookCommand: UpdateWebhookCommand_1.UpdateWebhookCommand,
|
|
14979
15344
|
UpdateWorkspaceCommand: UpdateWorkspaceCommand_1.UpdateWorkspaceCommand,
|
|
15345
|
+
ValidateContextCommand: ValidateContextCommand_1.ValidateContextCommand,
|
|
14980
15346
|
WeightRecomputeCommand: WeightRecomputeCommand_1.WeightRecomputeCommand,
|
|
14981
15347
|
};
|
|
14982
15348
|
let Superposition$1 = class Superposition extends SuperpositionClient_1.SuperpositionClient {
|
|
@@ -15016,19 +15382,25 @@ function requireCommands () {
|
|
|
15016
15382
|
tslib_1.__exportStar(requireDeleteExperimentGroupCommand(), exports);
|
|
15017
15383
|
tslib_1.__exportStar(requireDeleteFunctionCommand(), exports);
|
|
15018
15384
|
tslib_1.__exportStar(requireDeleteTypeTemplatesCommand(), exports);
|
|
15385
|
+
tslib_1.__exportStar(requireDeleteWebhookCommand(), exports);
|
|
15019
15386
|
tslib_1.__exportStar(requireDiscardExperimentCommand(), exports);
|
|
15020
15387
|
tslib_1.__exportStar(requireGetConfigCommand(), exports);
|
|
15021
15388
|
tslib_1.__exportStar(requireGetConfigFastCommand(), exports);
|
|
15022
15389
|
tslib_1.__exportStar(requireGetContextCommand(), exports);
|
|
15023
15390
|
tslib_1.__exportStar(requireGetContextFromConditionCommand(), exports);
|
|
15391
|
+
tslib_1.__exportStar(requireGetDefaultConfigCommand(), exports);
|
|
15024
15392
|
tslib_1.__exportStar(requireGetDimensionCommand(), exports);
|
|
15025
15393
|
tslib_1.__exportStar(requireGetExperimentCommand(), exports);
|
|
15026
15394
|
tslib_1.__exportStar(requireGetExperimentGroupCommand(), exports);
|
|
15027
15395
|
tslib_1.__exportStar(requireGetFunctionCommand(), exports);
|
|
15028
15396
|
tslib_1.__exportStar(requireGetOrganisationCommand(), exports);
|
|
15029
15397
|
tslib_1.__exportStar(requireGetResolvedConfigCommand(), exports);
|
|
15398
|
+
tslib_1.__exportStar(requireGetTypeTemplateCommand(), exports);
|
|
15030
15399
|
tslib_1.__exportStar(requireGetTypeTemplatesListCommand(), exports);
|
|
15400
|
+
tslib_1.__exportStar(requireGetVersionCommand(), exports);
|
|
15031
15401
|
tslib_1.__exportStar(requireGetWebhookCommand(), exports);
|
|
15402
|
+
tslib_1.__exportStar(requireGetWebhookByEventCommand(), exports);
|
|
15403
|
+
tslib_1.__exportStar(requireGetWorkspaceCommand(), exports);
|
|
15032
15404
|
tslib_1.__exportStar(requireListAuditLogsCommand(), exports);
|
|
15033
15405
|
tslib_1.__exportStar(requireListContextsCommand(), exports);
|
|
15034
15406
|
tslib_1.__exportStar(requireListDefaultConfigsCommand(), exports);
|
|
@@ -15058,6 +15430,7 @@ function requireCommands () {
|
|
|
15058
15430
|
tslib_1.__exportStar(requireUpdateTypeTemplatesCommand(), exports);
|
|
15059
15431
|
tslib_1.__exportStar(requireUpdateWebhookCommand(), exports);
|
|
15060
15432
|
tslib_1.__exportStar(requireUpdateWorkspaceCommand(), exports);
|
|
15433
|
+
tslib_1.__exportStar(requireValidateContextCommand(), exports);
|
|
15061
15434
|
tslib_1.__exportStar(requireWeightRecomputeCommand(), exports);
|
|
15062
15435
|
} (commands));
|
|
15063
15436
|
return commands;
|
|
@@ -15111,10 +15484,11 @@ class ExperimentationClient {
|
|
|
15111
15484
|
this.cachedExperiments = experiments;
|
|
15112
15485
|
this.cachedExperimentGroups = experimentgroups;
|
|
15113
15486
|
this.lastUpdated = new Date();
|
|
15114
|
-
console.log(
|
|
15487
|
+
console.log("Experiments and Experiment Groups fetched successfully.");
|
|
15115
15488
|
}
|
|
15116
15489
|
// Set up refresh strategy
|
|
15117
|
-
if (this.options.refreshStrategy &&
|
|
15490
|
+
if (this.options.refreshStrategy &&
|
|
15491
|
+
"interval" in this.options.refreshStrategy) {
|
|
15118
15492
|
const strategy = this.options.refreshStrategy;
|
|
15119
15493
|
this.startPolling(strategy.interval);
|
|
15120
15494
|
}
|
|
@@ -15128,11 +15502,11 @@ class ExperimentationClient {
|
|
|
15128
15502
|
this.cachedExperiments = experiments;
|
|
15129
15503
|
this.cachedExperimentGroups = experimentGroups;
|
|
15130
15504
|
this.lastUpdated = new Date();
|
|
15131
|
-
console.log(
|
|
15505
|
+
console.log("Experiments and Experiment Groups refreshed successfully.");
|
|
15132
15506
|
}
|
|
15133
15507
|
}
|
|
15134
15508
|
catch (error) {
|
|
15135
|
-
console.error(
|
|
15509
|
+
console.error("Polling error:", error);
|
|
15136
15510
|
}
|
|
15137
15511
|
}, interval);
|
|
15138
15512
|
}
|
|
@@ -15141,7 +15515,11 @@ class ExperimentationClient {
|
|
|
15141
15515
|
const commandInput = {
|
|
15142
15516
|
workspace_id: this.superpositionOptions.workspace_id,
|
|
15143
15517
|
org_id: this.superpositionOptions.org_id,
|
|
15144
|
-
all: true
|
|
15518
|
+
all: true,
|
|
15519
|
+
status: [
|
|
15520
|
+
superpositionSdk.ExperimentStatusType.CREATED,
|
|
15521
|
+
superpositionSdk.ExperimentStatusType.INPROGRESS,
|
|
15522
|
+
],
|
|
15145
15523
|
};
|
|
15146
15524
|
const command = new superpositionSdk.ListExperimentCommand(commandInput);
|
|
15147
15525
|
const response = await this.smithyClient.send(command);
|
|
@@ -15153,7 +15531,7 @@ class ExperimentationClient {
|
|
|
15153
15531
|
for (const exp of response.data) {
|
|
15154
15532
|
// Skip experiments without required fields
|
|
15155
15533
|
if (!exp.id) {
|
|
15156
|
-
console.warn(
|
|
15534
|
+
console.warn("Skipping experiment without ID");
|
|
15157
15535
|
continue;
|
|
15158
15536
|
}
|
|
15159
15537
|
const variants = [];
|
|
@@ -15165,7 +15543,8 @@ class ExperimentationClient {
|
|
|
15165
15543
|
continue;
|
|
15166
15544
|
}
|
|
15167
15545
|
const variantType = variant.variant_type;
|
|
15168
|
-
if (variantType !==
|
|
15546
|
+
if (variantType !== superpositionSdk.VariantType.CONTROL &&
|
|
15547
|
+
variantType !== superpositionSdk.VariantType.EXPERIMENTAL) {
|
|
15169
15548
|
console.warn(`Invalid variant type: ${variant.variant_type}`);
|
|
15170
15549
|
continue;
|
|
15171
15550
|
}
|
|
@@ -15174,7 +15553,7 @@ class ExperimentationClient {
|
|
|
15174
15553
|
variant_type: variantType,
|
|
15175
15554
|
context_id: variant.context_id,
|
|
15176
15555
|
override_id: variant.override_id,
|
|
15177
|
-
overrides: this.normalizeToStringRecord(variant.overrides)
|
|
15556
|
+
overrides: this.normalizeToStringRecord(variant.overrides),
|
|
15178
15557
|
});
|
|
15179
15558
|
}
|
|
15180
15559
|
}
|
|
@@ -15182,13 +15561,13 @@ class ExperimentationClient {
|
|
|
15182
15561
|
id: exp.id,
|
|
15183
15562
|
context: this.normalizeToStringRecord(exp.context),
|
|
15184
15563
|
variants: variants,
|
|
15185
|
-
traffic_percentage: exp.traffic_percentage || 100
|
|
15564
|
+
traffic_percentage: exp.traffic_percentage || 100,
|
|
15186
15565
|
});
|
|
15187
15566
|
}
|
|
15188
15567
|
return experiments;
|
|
15189
15568
|
}
|
|
15190
15569
|
catch (error) {
|
|
15191
|
-
console.error(
|
|
15570
|
+
console.error("Error fetching experiments from Superposition:", error);
|
|
15192
15571
|
return null;
|
|
15193
15572
|
}
|
|
15194
15573
|
}
|
|
@@ -15197,7 +15576,7 @@ class ExperimentationClient {
|
|
|
15197
15576
|
const commandInput = {
|
|
15198
15577
|
workspace_id: this.superpositionOptions.workspace_id,
|
|
15199
15578
|
org_id: this.superpositionOptions.org_id,
|
|
15200
|
-
all: true
|
|
15579
|
+
all: true,
|
|
15201
15580
|
};
|
|
15202
15581
|
const command = new superpositionSdk.ListExperimentGroupsCommand(commandInput);
|
|
15203
15582
|
const response = await this.smithyClient.send(command);
|
|
@@ -15209,7 +15588,7 @@ class ExperimentationClient {
|
|
|
15209
15588
|
for (const exp_group of response.data) {
|
|
15210
15589
|
// Skip experiment groups without required fields
|
|
15211
15590
|
if (!exp_group.id) {
|
|
15212
|
-
console.warn(
|
|
15591
|
+
console.warn("Skipping experiment group without ID");
|
|
15213
15592
|
continue;
|
|
15214
15593
|
}
|
|
15215
15594
|
experimentGroups.push({
|
|
@@ -15217,13 +15596,15 @@ class ExperimentationClient {
|
|
|
15217
15596
|
context: this.normalizeToStringRecord(exp_group.context),
|
|
15218
15597
|
traffic_percentage: exp_group.traffic_percentage || 100,
|
|
15219
15598
|
member_experiment_ids: exp_group.member_experiment_ids || [],
|
|
15220
|
-
group_type: exp_group.group_type ||
|
|
15599
|
+
group_type: exp_group.group_type ||
|
|
15600
|
+
superpositionSdk.GroupType.USER_CREATED,
|
|
15601
|
+
buckets: exp_group.buckets || [],
|
|
15221
15602
|
});
|
|
15222
15603
|
}
|
|
15223
15604
|
return experimentGroups;
|
|
15224
15605
|
}
|
|
15225
15606
|
catch (error) {
|
|
15226
|
-
console.error(
|
|
15607
|
+
console.error("Error fetching experiment groups from Superposition:", error);
|
|
15227
15608
|
return null;
|
|
15228
15609
|
}
|
|
15229
15610
|
}
|
|
@@ -15238,9 +15619,9 @@ class ExperimentationClient {
|
|
|
15238
15619
|
return result;
|
|
15239
15620
|
}
|
|
15240
15621
|
// If it's already a record/object
|
|
15241
|
-
if (typeof value ===
|
|
15622
|
+
if (typeof value === "object" && !Array.isArray(value)) {
|
|
15242
15623
|
for (const [key, val] of Object.entries(value)) {
|
|
15243
|
-
if (typeof val ===
|
|
15624
|
+
if (typeof val === "string") {
|
|
15244
15625
|
result[key] = val;
|
|
15245
15626
|
}
|
|
15246
15627
|
else if (val != null) {
|
|
@@ -15255,14 +15636,16 @@ class ExperimentationClient {
|
|
|
15255
15636
|
return result;
|
|
15256
15637
|
}
|
|
15257
15638
|
async getExperiments() {
|
|
15258
|
-
if (this.options.refreshStrategy &&
|
|
15639
|
+
if (this.options.refreshStrategy &&
|
|
15640
|
+
"ttl" in this.options.refreshStrategy) {
|
|
15259
15641
|
const strategy = this.options.refreshStrategy;
|
|
15260
15642
|
const now = new Date();
|
|
15261
15643
|
const shouldRefresh = !this.lastUpdated ||
|
|
15262
|
-
|
|
15644
|
+
now.getTime() - this.lastUpdated.getTime() >
|
|
15645
|
+
strategy.ttl * 1000;
|
|
15263
15646
|
if (shouldRefresh) {
|
|
15264
15647
|
try {
|
|
15265
|
-
console.log(
|
|
15648
|
+
console.log("TTL expired. Fetching experiments on-demand.");
|
|
15266
15649
|
const experiments = await this.fetchExperiments();
|
|
15267
15650
|
if (experiments) {
|
|
15268
15651
|
this.cachedExperiments = experiments;
|
|
@@ -15270,25 +15653,28 @@ class ExperimentationClient {
|
|
|
15270
15653
|
}
|
|
15271
15654
|
}
|
|
15272
15655
|
catch (error) {
|
|
15273
|
-
console.warn(
|
|
15274
|
-
if (!strategy.use_stale_on_error ||
|
|
15656
|
+
console.warn("On-demand fetch failed:", error);
|
|
15657
|
+
if (!strategy.use_stale_on_error ||
|
|
15658
|
+
!this.cachedExperiments) {
|
|
15275
15659
|
throw error;
|
|
15276
15660
|
}
|
|
15277
|
-
console.log(
|
|
15661
|
+
console.log("Using stale experiments due to error.");
|
|
15278
15662
|
}
|
|
15279
15663
|
}
|
|
15280
15664
|
}
|
|
15281
15665
|
return this.cachedExperiments || [];
|
|
15282
15666
|
}
|
|
15283
15667
|
async getExperimentGroups() {
|
|
15284
|
-
if (this.options.refreshStrategy &&
|
|
15668
|
+
if (this.options.refreshStrategy &&
|
|
15669
|
+
"ttl" in this.options.refreshStrategy) {
|
|
15285
15670
|
const strategy = this.options.refreshStrategy;
|
|
15286
15671
|
const now = new Date();
|
|
15287
15672
|
const shouldRefresh = !this.lastUpdated ||
|
|
15288
|
-
|
|
15673
|
+
now.getTime() - this.lastUpdated.getTime() >
|
|
15674
|
+
strategy.ttl * 1000;
|
|
15289
15675
|
if (shouldRefresh) {
|
|
15290
15676
|
try {
|
|
15291
|
-
console.log(
|
|
15677
|
+
console.log("TTL expired. Fetching experiment groups on-demand.");
|
|
15292
15678
|
const experimentGroups = await this.fetchExperimentGroups();
|
|
15293
15679
|
if (experimentGroups) {
|
|
15294
15680
|
this.cachedExperimentGroups = experimentGroups;
|
|
@@ -15296,11 +15682,12 @@ class ExperimentationClient {
|
|
|
15296
15682
|
}
|
|
15297
15683
|
}
|
|
15298
15684
|
catch (error) {
|
|
15299
|
-
console.warn(
|
|
15300
|
-
if (!strategy.use_stale_on_error ||
|
|
15685
|
+
console.warn("On-demand fetch failed:", error);
|
|
15686
|
+
if (!strategy.use_stale_on_error ||
|
|
15687
|
+
!this.cachedExperimentGroups) {
|
|
15301
15688
|
throw error;
|
|
15302
15689
|
}
|
|
15303
|
-
console.log(
|
|
15690
|
+
console.log("Using stale experiment groups due to error.");
|
|
15304
15691
|
}
|
|
15305
15692
|
}
|
|
15306
15693
|
}
|
|
@@ -15322,15 +15709,15 @@ class ExperimentationClient {
|
|
|
15322
15709
|
try {
|
|
15323
15710
|
if (this.pollingInterval) {
|
|
15324
15711
|
clearInterval(this.pollingInterval);
|
|
15325
|
-
console.log(
|
|
15712
|
+
console.log("Polling stopped successfully");
|
|
15326
15713
|
}
|
|
15327
15714
|
this.clearEvalCache();
|
|
15328
15715
|
this.cachedExperiments = null;
|
|
15329
15716
|
this.lastUpdated = null;
|
|
15330
|
-
console.log(
|
|
15717
|
+
console.log("ExperimentationClient closed successfully");
|
|
15331
15718
|
}
|
|
15332
15719
|
catch (error) {
|
|
15333
|
-
console.error(
|
|
15720
|
+
console.error("Error during ExperimentationClient cleanup:", error);
|
|
15334
15721
|
throw error;
|
|
15335
15722
|
}
|
|
15336
15723
|
}
|
|
@@ -15420,6 +15807,7 @@ class ConfigurationClient {
|
|
|
15420
15807
|
throw new Error(`Failed to fetch configuration: ${errorMessage}`);
|
|
15421
15808
|
}
|
|
15422
15809
|
}
|
|
15810
|
+
// TODO: defaultValue is taken but not used. Should it be used as a fallback?
|
|
15423
15811
|
async getAllConfigValue(defaultValue, context, targetingKey) {
|
|
15424
15812
|
try {
|
|
15425
15813
|
const configData = await this.fetchConfigData();
|
|
@@ -15427,9 +15815,10 @@ class ConfigurationClient {
|
|
|
15427
15815
|
let queryData = { ...context };
|
|
15428
15816
|
if (this.experimentationClient && targetingKey) {
|
|
15429
15817
|
const experiments = await this.experimentationClient.getExperiments();
|
|
15818
|
+
const experiment_groups = await this.experimentationClient.getExperimentGroups();
|
|
15430
15819
|
const identifier = this.experimentationOptions?.defaultIdentifier ||
|
|
15431
15820
|
(targetingKey ? targetingKey : "default");
|
|
15432
|
-
const variantIds = await this.getApplicableVariants(experiments, queryData, identifier);
|
|
15821
|
+
const variantIds = await this.getApplicableVariants(experiments, experiment_groups, this.currentConfigData?.dimensions || {}, queryData, identifier);
|
|
15433
15822
|
if (variantIds.length > 0) {
|
|
15434
15823
|
queryData.variantIds = variantIds;
|
|
15435
15824
|
}
|
|
@@ -15445,9 +15834,9 @@ class ConfigurationClient {
|
|
|
15445
15834
|
}
|
|
15446
15835
|
}
|
|
15447
15836
|
// Add method to get applicable variants
|
|
15448
|
-
async getApplicableVariants(experiments, queryData, identifier, filterPrefixes) {
|
|
15837
|
+
async getApplicableVariants(experiments, experiment_groups, dimensions, queryData, identifier, filterPrefixes) {
|
|
15449
15838
|
// This would use the native resolver's getApplicableVariants method
|
|
15450
|
-
return this.resolver.getApplicableVariants(experiments, queryData, identifier, filterPrefixes || []);
|
|
15839
|
+
return this.resolver.getApplicableVariants(experiments, experiment_groups, dimensions, queryData, identifier, filterPrefixes || []);
|
|
15451
15840
|
}
|
|
15452
15841
|
// Add method to close and cleanup
|
|
15453
15842
|
async close() {
|
|
@@ -15641,7 +16030,7 @@ class NativeResolver {
|
|
|
15641
16030
|
throw new Error(`Failed to parse reasoning evaluation result: ${parseError}`);
|
|
15642
16031
|
}
|
|
15643
16032
|
}
|
|
15644
|
-
getApplicableVariants(experiments, dimensions, userContext, identifier, filterPrefixes = []) {
|
|
16033
|
+
getApplicableVariants(experiments, experiment_groups, dimensions, userContext, identifier, filterPrefixes = []) {
|
|
15645
16034
|
if (!this.isAvailable) {
|
|
15646
16035
|
throw new Error("Native resolver is not available. Please ensure the native library is built and accessible.");
|
|
15647
16036
|
}
|
|
@@ -15652,15 +16041,17 @@ class NativeResolver {
|
|
|
15652
16041
|
throw new Error("userContext parameter is required");
|
|
15653
16042
|
}
|
|
15654
16043
|
const experimentsJson = JSON.stringify(experiments);
|
|
16044
|
+
const experimentGroupsJson = JSON.stringify(experiment_groups);
|
|
15655
16045
|
const userContextJson = JSON.stringify(userContext);
|
|
15656
16046
|
const dimensionsJson = JSON.stringify(dimensions);
|
|
15657
16047
|
const filterPrefixesJson = filterPrefixes.length > 0 ? JSON.stringify(filterPrefixes) : null;
|
|
15658
|
-
console.log("
|
|
15659
|
-
console.log(" experiments:", experiments);
|
|
16048
|
+
console.log("Calling FFI getApplicableVariants with parameters:");
|
|
16049
|
+
console.log(" experiments:", experiments.length);
|
|
16050
|
+
console.log(" experimentGroups:", experiment_groups.length);
|
|
15660
16051
|
console.log(" userContext:", userContext);
|
|
15661
16052
|
console.log(" identifier:", identifier);
|
|
15662
16053
|
console.log(" filterPrefixes:", filterPrefixes);
|
|
15663
|
-
const result = this.lib.core_get_applicable_variants(experimentsJson, dimensionsJson, userContextJson, identifier, filterPrefixesJson);
|
|
16054
|
+
const result = this.lib.core_get_applicable_variants(experimentsJson, experimentGroupsJson, dimensionsJson, userContextJson, identifier, filterPrefixesJson);
|
|
15664
16055
|
console.log("FFI getApplicableVariants call completed, result:", result);
|
|
15665
16056
|
if (!result) {
|
|
15666
16057
|
this.throwLastError("Failed to get applicable variants");
|