From 8defefa48efcbaf39455190dfe941a259bec4c33 Mon Sep 17 00:00:00 2001 From: Saurav Suman Date: Mon, 2 Mar 2026 12:01:14 +0530 Subject: [PATCH] feat: added WebhookOperation mixin to all config mutation operations and experimentation --- .../Io/Superposition/Command/BulkOperation.hs | 3 + .../Command/ConcludeExperiment.hs | 3 + .../Io/Superposition/Command/CreateContext.hs | 3 + .../Command/CreateDefaultConfig.hs | 5 +- .../Superposition/Command/CreateDimension.hs | 5 +- .../Superposition/Command/CreateExperiment.hs | 5 +- .../Io/Superposition/Command/DeleteContext.hs | 3 + .../Command/DeleteDefaultConfig.hs | 3 + .../Superposition/Command/DeleteDimension.hs | 3 + .../Command/DiscardExperiment.hs | 3 + .../Command/GetContextFromCondition.hs | 3 + .../Io/Superposition/Command/MoveContext.hs | 3 + .../Superposition/Command/PauseExperiment.hs | 3 + .../Superposition/Command/RampExperiment.hs | 3 + .../Superposition/Command/ResumeExperiment.hs | 3 + .../Command/UpdateDefaultConfig.hs | 3 + .../Superposition/Command/UpdateDimension.hs | 3 + .../Superposition/Command/UpdateOverride.hs | 3 + .../Command/UpdateOverridesExperiment.hs | 3 + .../Superposition/Command/WeightRecompute.hs | 3 + .../Io/Superposition/Model/WebhookFailed.hs | 77 ++++++ clients/haskell/sdk/SuperpositionSDK.cabal | 1 + .../client/SuperpositionAsyncClient.java | 41 +++ .../client/SuperpositionClient.java | 41 +++ .../superposition/model/BulkOperation.java | 1 + .../model/ConcludeExperiment.java | 1 + .../superposition/model/CreateContext.java | 1 + .../model/CreateDefaultConfig.java | 1 + .../superposition/model/CreateDimension.java | 1 + .../superposition/model/CreateExperiment.java | 1 + .../superposition/model/DeleteContext.java | 1 + .../model/DeleteDefaultConfig.java | 1 + .../superposition/model/DeleteDimension.java | 1 + .../model/DiscardExperiment.java | 1 + .../model/GetContextFromCondition.java | 1 + .../superposition/model/MoveContext.java | 1 + .../superposition/model/PauseExperiment.java | 1 + .../superposition/model/RampExperiment.java | 1 + .../superposition/model/ResumeExperiment.java | 1 + .../model/UpdateDefaultConfig.java | 1 + .../superposition/model/UpdateDimension.java | 1 + .../superposition/model/UpdateOverride.java | 1 + .../model/UpdateOverridesExperiment.java | 1 + .../superposition/model/WebhookFailed.java | 172 +++++++++++++ .../superposition/model/WeightRecompute.java | 1 + .../sdk/src/commands/BulkOperationCommand.ts | 3 + .../src/commands/ConcludeExperimentCommand.ts | 3 + .../sdk/src/commands/CreateContextCommand.ts | 3 + .../commands/CreateDefaultConfigCommand.ts | 3 + .../src/commands/CreateDimensionCommand.ts | 3 + .../src/commands/CreateExperimentCommand.ts | 3 + .../sdk/src/commands/DeleteContextCommand.ts | 3 + .../commands/DeleteDefaultConfigCommand.ts | 3 + .../src/commands/DeleteDimensionCommand.ts | 3 + .../src/commands/DiscardExperimentCommand.ts | 3 + .../GetContextFromConditionCommand.ts | 3 + .../sdk/src/commands/MoveContextCommand.ts | 3 + .../src/commands/PauseExperimentCommand.ts | 3 + .../sdk/src/commands/RampExperimentCommand.ts | 3 + .../src/commands/ResumeExperimentCommand.ts | 3 + .../commands/UpdateDefaultConfigCommand.ts | 3 + .../src/commands/UpdateDimensionCommand.ts | 3 + .../sdk/src/commands/UpdateOverrideCommand.ts | 3 + .../UpdateOverridesExperimentCommand.ts | 3 + .../src/commands/WeightRecomputeCommand.ts | 3 + clients/javascript/sdk/src/models/models_0.ts | 26 ++ .../sdk/src/protocols/Aws_restJson1.ts | 25 ++ .../sdk/superposition_sdk/_private/schemas.py | 17 ++ .../sdk/superposition_sdk/deserialize.py | 82 ++++++ .../python/sdk/superposition_sdk/models.py | 74 +++++- crates/superposition_sdk/src/error_meta.rs | 25 ++ .../src/operation/bulk_operation.rs | 16 ++ .../src/operation/conclude_experiment.rs | 16 ++ .../src/operation/create_context.rs | 16 ++ .../src/operation/create_default_config.rs | 16 ++ .../src/operation/create_dimension.rs | 16 ++ .../src/operation/create_experiment.rs | 16 ++ .../src/operation/delete_context.rs | 16 ++ .../src/operation/delete_default_config.rs | 16 ++ .../src/operation/delete_dimension.rs | 16 ++ .../src/operation/discard_experiment.rs | 16 ++ .../operation/get_context_from_condition.rs | 16 ++ .../src/operation/move_context.rs | 16 ++ .../src/operation/pause_experiment.rs | 16 ++ .../src/operation/ramp_experiment.rs | 16 ++ .../src/operation/resume_experiment.rs | 16 ++ .../src/operation/update_default_config.rs | 16 ++ .../src/operation/update_dimension.rs | 16 ++ .../src/operation/update_override.rs | 16 ++ .../operation/update_overrides_experiment.rs | 16 ++ .../src/operation/weight_recompute.rs | 16 ++ .../superposition_sdk/src/protocol_serde.rs | 2 + .../protocol_serde/shape_bulk_operation.rs | 16 ++ .../shape_conclude_experiment.rs | 16 ++ .../protocol_serde/shape_create_context.rs | 16 ++ .../shape_create_default_config.rs | 16 ++ .../protocol_serde/shape_create_dimension.rs | 16 ++ .../protocol_serde/shape_create_experiment.rs | 16 ++ .../protocol_serde/shape_delete_context.rs | 16 ++ .../shape_delete_default_config.rs | 16 ++ .../protocol_serde/shape_delete_dimension.rs | 16 ++ .../shape_discard_experiment.rs | 16 ++ .../shape_get_context_from_condition.rs | 16 ++ .../src/protocol_serde/shape_move_context.rs | 16 ++ .../protocol_serde/shape_pause_experiment.rs | 16 ++ .../protocol_serde/shape_ramp_experiment.rs | 16 ++ .../protocol_serde/shape_resume_experiment.rs | 16 ++ .../shape_update_default_config.rs | 16 ++ .../protocol_serde/shape_update_dimension.rs | 16 ++ .../protocol_serde/shape_update_override.rs | 16 ++ .../shape_update_overrides_experiment.rs | 16 ++ .../protocol_serde/shape_webhook_failed.rs | 36 +++ .../protocol_serde/shape_weight_recompute.rs | 16 ++ crates/superposition_sdk/src/types/error.rs | 4 + .../src/types/error/_webhook_failed.rs | 102 ++++++++ .../src/types/error/builders.rs | 2 + docs/docs/api/Superposition.openapi.json | 209 +++++++++++++++ docs/docs/api/bulk-operation.api.mdx | 4 +- docs/docs/api/conclude-experiment.api.mdx | 4 +- docs/docs/api/create-context.api.mdx | 4 +- docs/docs/api/create-default-config.api.mdx | 4 +- docs/docs/api/create-dimension.api.mdx | 4 +- docs/docs/api/create-experiment.api.mdx | 4 +- docs/docs/api/delete-context.api.mdx | 4 +- docs/docs/api/delete-default-config.api.mdx | 4 +- docs/docs/api/delete-dimension.api.mdx | 4 +- docs/docs/api/discard-experiment.api.mdx | 4 +- .../api/get-context-from-condition.api.mdx | 4 +- docs/docs/api/move-context.api.mdx | 4 +- docs/docs/api/pause-experiment.api.mdx | 4 +- docs/docs/api/ramp-experiment.api.mdx | 4 +- docs/docs/api/resume-experiment.api.mdx | 4 +- docs/docs/api/update-default-config.api.mdx | 4 +- docs/docs/api/update-dimension.api.mdx | 4 +- docs/docs/api/update-override.api.mdx | 4 +- .../api/update-overrides-experiment.api.mdx | 4 +- docs/docs/api/weight-recompute.api.mdx | 4 +- smithy/models/context.smithy | 14 +- smithy/models/default-config.smithy | 6 +- smithy/models/dimension.smithy | 6 +- smithy/models/experiments.smithy | 14 +- smithy/models/main.smithy | 15 ++ smithy/patches/python.patch | 237 +++++++++--------- 143 files changed, 1905 insertions(+), 189 deletions(-) create mode 100644 clients/haskell/sdk/Io/Superposition/Model/WebhookFailed.hs create mode 100644 clients/java/sdk/src/main/java/io/juspay/superposition/model/WebhookFailed.java create mode 100644 crates/superposition_sdk/src/protocol_serde/shape_webhook_failed.rs create mode 100644 crates/superposition_sdk/src/types/error/_webhook_failed.rs diff --git a/clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs b/clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs index 4abb7c7cd..58786f7d3 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.BulkOperationInput import qualified Io.Superposition.Model.BulkOperationOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data BulkOperationError = InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError BulkOperationError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/ConcludeExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/ConcludeExperiment.hs index 7e49a5746..69ae17842 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/ConcludeExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/ConcludeExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.ConcludeExperimentInput import qualified Io.Superposition.Model.ConcludeExperimentOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data ConcludeExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError ConcludeExperimentError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs b/clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs index 78b67d5fa..6c00ee14a 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.CreateContextInput import qualified Io.Superposition.Model.CreateContextOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data CreateContextError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError CreateContextError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/CreateDefaultConfig.hs b/clients/haskell/sdk/Io/Superposition/Command/CreateDefaultConfig.hs index 04da5890b..21bde23c7 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/CreateDefaultConfig.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/CreateDefaultConfig.hs @@ -10,11 +10,13 @@ import qualified GHC.Show import qualified Io.Superposition.Model.CreateDefaultConfigInput import qualified Io.Superposition.Model.CreateDefaultConfigOutput import qualified Io.Superposition.Model.InternalServerError +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data CreateDefaultConfigError = - InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError + WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed + | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text | UnexpectedError (Data.Maybe.Maybe Io.Superposition.Utility.HttpMetadata) Data.Text.Text @@ -27,6 +29,7 @@ instance Io.Superposition.Utility.OperationError CreateDefaultConfigError where mkUnexpectedError = UnexpectedError getErrorParser status + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs b/clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs index b11545484..f1cb3ec0f 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs @@ -10,11 +10,13 @@ import qualified GHC.Show import qualified Io.Superposition.Model.CreateDimensionInput import qualified Io.Superposition.Model.CreateDimensionOutput import qualified Io.Superposition.Model.InternalServerError +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data CreateDimensionError = - InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError + WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed + | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text | UnexpectedError (Data.Maybe.Maybe Io.Superposition.Utility.HttpMetadata) Data.Text.Text @@ -27,6 +29,7 @@ instance Io.Superposition.Utility.OperationError CreateDimensionError where mkUnexpectedError = UnexpectedError getErrorParser status + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/CreateExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/CreateExperiment.hs index 4722d565d..eb0cbcef0 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/CreateExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/CreateExperiment.hs @@ -10,11 +10,13 @@ import qualified GHC.Show import qualified Io.Superposition.Model.CreateExperimentInput import qualified Io.Superposition.Model.CreateExperimentOutput import qualified Io.Superposition.Model.InternalServerError +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data CreateExperimentError = - InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError + WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed + | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text | UnexpectedError (Data.Maybe.Maybe Io.Superposition.Utility.HttpMetadata) Data.Text.Text @@ -27,6 +29,7 @@ instance Io.Superposition.Utility.OperationError CreateExperimentError where mkUnexpectedError = UnexpectedError getErrorParser status + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs b/clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs index 9c4df6741..0ce9adeb8 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.DeleteContextInput import qualified Io.Superposition.Model.DeleteContextOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data DeleteContextError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError DeleteContextError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/DeleteDefaultConfig.hs b/clients/haskell/sdk/Io/Superposition/Command/DeleteDefaultConfig.hs index 93f3d422b..4d223c869 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/DeleteDefaultConfig.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/DeleteDefaultConfig.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.DeleteDefaultConfigInput import qualified Io.Superposition.Model.DeleteDefaultConfigOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data DeleteDefaultConfigError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError DeleteDefaultConfigError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs b/clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs index 0a39ffe9f..a348bd3bb 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.DeleteDimensionInput import qualified Io.Superposition.Model.DeleteDimensionOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data DeleteDimensionError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError DeleteDimensionError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/DiscardExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/DiscardExperiment.hs index 9baaa8128..ad012ed5d 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/DiscardExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/DiscardExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.DiscardExperimentInput import qualified Io.Superposition.Model.DiscardExperimentOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data DiscardExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError DiscardExperimentError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/GetContextFromCondition.hs b/clients/haskell/sdk/Io/Superposition/Command/GetContextFromCondition.hs index c9be81fb9..7cedc443d 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/GetContextFromCondition.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/GetContextFromCondition.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.GetContextFromConditionInput import qualified Io.Superposition.Model.GetContextFromConditionOutput import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data GetContextFromConditionError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError GetContextFromConditionError wh getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs b/clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs index 6b89e9a87..8f493cf64 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.MoveContextInput import qualified Io.Superposition.Model.MoveContextOutput import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data MoveContextError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError MoveContextError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/PauseExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/PauseExperiment.hs index c606ae7c3..4ebf1d18d 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/PauseExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/PauseExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.PauseExperimentInput import qualified Io.Superposition.Model.PauseExperimentOutput import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data PauseExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError PauseExperimentError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/RampExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/RampExperiment.hs index 78fecc012..b349fea43 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/RampExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/RampExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.RampExperimentInput import qualified Io.Superposition.Model.RampExperimentOutput import qualified Io.Superposition.Model.ResourceNotFound +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data RampExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError RampExperimentError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/ResumeExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/ResumeExperiment.hs index 85945a95d..25a0ef160 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/ResumeExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/ResumeExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound import qualified Io.Superposition.Model.ResumeExperimentInput import qualified Io.Superposition.Model.ResumeExperimentOutput +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data ResumeExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError ResumeExperimentError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/UpdateDefaultConfig.hs b/clients/haskell/sdk/Io/Superposition/Command/UpdateDefaultConfig.hs index 2bb48a422..4f8c5172e 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/UpdateDefaultConfig.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/UpdateDefaultConfig.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound import qualified Io.Superposition.Model.UpdateDefaultConfigInput import qualified Io.Superposition.Model.UpdateDefaultConfigOutput +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data UpdateDefaultConfigError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError UpdateDefaultConfigError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs b/clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs index ab4d9fe66..406284cf8 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound import qualified Io.Superposition.Model.UpdateDimensionInput import qualified Io.Superposition.Model.UpdateDimensionOutput +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data UpdateDimensionError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError UpdateDimensionError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs b/clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs index 29415784d..e2e6c5dd3 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound import qualified Io.Superposition.Model.UpdateOverrideInput import qualified Io.Superposition.Model.UpdateOverrideOutput +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data UpdateOverrideError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError UpdateOverrideError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/UpdateOverridesExperiment.hs b/clients/haskell/sdk/Io/Superposition/Command/UpdateOverridesExperiment.hs index 223aed4d4..8d735086d 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/UpdateOverridesExperiment.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/UpdateOverridesExperiment.hs @@ -11,11 +11,13 @@ import qualified Io.Superposition.Model.InternalServerError import qualified Io.Superposition.Model.ResourceNotFound import qualified Io.Superposition.Model.UpdateOverridesExperimentInput import qualified Io.Superposition.Model.UpdateOverridesExperimentOutput +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.SuperpositionClient import qualified Io.Superposition.Utility data UpdateOverridesExperimentError = ResourceNotFound Io.Superposition.Model.ResourceNotFound.ResourceNotFound + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text @@ -30,6 +32,7 @@ instance Io.Superposition.Utility.OperationError UpdateOverridesExperimentError getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.ResourceNotFound.ResourceNotFound) = Just (fmap ResourceNotFound (Io.Superposition.Utility.responseParser @Io.Superposition.Model.ResourceNotFound.ResourceNotFound)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs b/clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs index 61c529107..1972f9c39 100644 --- a/clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs +++ b/clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs @@ -8,6 +8,7 @@ import qualified Data.Text import qualified GHC.Generics import qualified GHC.Show import qualified Io.Superposition.Model.InternalServerError +import qualified Io.Superposition.Model.WebhookFailed import qualified Io.Superposition.Model.WeightRecomputeInput import qualified Io.Superposition.Model.WeightRecomputeOutput import qualified Io.Superposition.SuperpositionClient @@ -15,6 +16,7 @@ import qualified Io.Superposition.Utility data WeightRecomputeError = InternalServerError Io.Superposition.Model.InternalServerError.InternalServerError + | WebhookFailed Io.Superposition.Model.WebhookFailed.WebhookFailed | BuilderError Data.Text.Text | DeSerializationError Io.Superposition.Utility.HttpMetadata Data.Text.Text | UnexpectedError (Data.Maybe.Maybe Io.Superposition.Utility.HttpMetadata) Data.Text.Text @@ -28,6 +30,7 @@ instance Io.Superposition.Utility.OperationError WeightRecomputeError where getErrorParser status | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.InternalServerError.InternalServerError) = Just (fmap InternalServerError (Io.Superposition.Utility.responseParser @Io.Superposition.Model.InternalServerError.InternalServerError)) + | status == (Io.Superposition.Utility.expectedStatus @Io.Superposition.Model.WebhookFailed.WebhookFailed) = Just (fmap WebhookFailed (Io.Superposition.Utility.responseParser @Io.Superposition.Model.WebhookFailed.WebhookFailed)) | otherwise = Nothing diff --git a/clients/haskell/sdk/Io/Superposition/Model/WebhookFailed.hs b/clients/haskell/sdk/Io/Superposition/Model/WebhookFailed.hs new file mode 100644 index 000000000..3eac91d66 --- /dev/null +++ b/clients/haskell/sdk/Io/Superposition/Model/WebhookFailed.hs @@ -0,0 +1,77 @@ +module Io.Superposition.Model.WebhookFailed ( + setData', + build, + WebhookFailedBuilder, + WebhookFailed, + data' +) where +import qualified Control.Monad.State.Strict +import qualified Data.Aeson +import qualified Data.Either +import qualified Data.Eq +import qualified Data.Functor +import qualified Data.Maybe +import qualified Data.Text +import qualified GHC.Generics +import qualified GHC.Show +import qualified Io.Superposition.Utility +import qualified Network.HTTP.Types + +data WebhookFailed = WebhookFailed { + data' :: Data.Maybe.Maybe Data.Aeson.Value +} deriving ( + GHC.Show.Show, + Data.Eq.Eq, + GHC.Generics.Generic + ) + +instance Data.Aeson.ToJSON WebhookFailed where + toJSON a = Data.Aeson.object [ + "data" Data.Aeson..= data' a + ] + + +instance Io.Superposition.Utility.SerializeBody WebhookFailed + +instance Data.Aeson.FromJSON WebhookFailed where + parseJSON = Data.Aeson.withObject "WebhookFailed" $ \v -> WebhookFailed + Data.Functor.<$> (v Data.Aeson..:? "data") + + + + +data WebhookFailedBuilderState = WebhookFailedBuilderState { + data'BuilderState :: Data.Maybe.Maybe Data.Aeson.Value +} deriving ( + GHC.Generics.Generic + ) + +defaultBuilderState :: WebhookFailedBuilderState +defaultBuilderState = WebhookFailedBuilderState { + data'BuilderState = Data.Maybe.Nothing +} + +type WebhookFailedBuilder = Control.Monad.State.Strict.State WebhookFailedBuilderState + +setData' :: Data.Maybe.Maybe Data.Aeson.Value -> WebhookFailedBuilder () +setData' value = + Control.Monad.State.Strict.modify (\s -> (s { data'BuilderState = value })) + +build :: WebhookFailedBuilder () -> Data.Either.Either Data.Text.Text WebhookFailed +build builder = do + let (_, st) = Control.Monad.State.Strict.runState builder defaultBuilderState + data'' <- Data.Either.Right (data'BuilderState st) + Data.Either.Right (WebhookFailed { + data' = data'' + }) + + +instance Io.Superposition.Utility.FromResponseParser WebhookFailed where + expectedStatus = Network.HTTP.Types.status512 + responseParser = do + + var0 <- Io.Superposition.Utility.deSerField "data" + pure $ WebhookFailed { + data' = var0 + } + diff --git a/clients/haskell/sdk/SuperpositionSDK.cabal b/clients/haskell/sdk/SuperpositionSDK.cabal index d284616e6..778bf6ddc 100644 --- a/clients/haskell/sdk/SuperpositionSDK.cabal +++ b/clients/haskell/sdk/SuperpositionSDK.cabal @@ -54,6 +54,7 @@ library Io.Superposition.Command.UpdateExperimentGroup, Io.Superposition.Model.BulkOperationInput, Io.Superposition.Model.DeleteSecretOutput, + Io.Superposition.Model.WebhookFailed, Io.Superposition.Model.UpdateExperimentGroupInput, Io.Superposition.Command.ListFunction, Io.Superposition.Command.ConcludeExperiment, diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java b/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java index 6a80e01ce..b95ea0ab4 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java @@ -167,6 +167,7 @@ import io.juspay.superposition.model.UpdateWorkspaceOutput; import io.juspay.superposition.model.ValidateContextInput; import io.juspay.superposition.model.ValidateContextOutput; +import io.juspay.superposition.model.WebhookFailed; import io.juspay.superposition.model.WeightRecomputeInput; import io.juspay.superposition.model.WeightRecomputeOutput; import java.util.concurrent.CompletableFuture; @@ -229,6 +230,7 @@ default CompletableFuture applicableVariants(Applicabl * efficient batch processing. * * @throws InternalServerError + * @throws WebhookFailed * @throws ResourceNotFound */ default CompletableFuture bulkOperation(BulkOperationInput input) { @@ -240,6 +242,7 @@ default CompletableFuture bulkOperation(BulkOperationInput * efficient batch processing. * * @throws InternalServerError + * @throws WebhookFailed * @throws ResourceNotFound */ CompletableFuture bulkOperation(BulkOperationInput input, RequestOverrideConfig overrideConfig); @@ -249,6 +252,7 @@ default CompletableFuture bulkOperation(BulkOperationInput * to a concluded state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture concludeExperiment(ConcludeExperimentInput input) { @@ -260,6 +264,7 @@ default CompletableFuture concludeExperiment(ConcludeE * to a concluded state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture concludeExperiment(ConcludeExperimentInput input, RequestOverrideConfig overrideConfig); @@ -269,6 +274,7 @@ default CompletableFuture concludeExperiment(ConcludeE * config management. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture createContext(CreateContextInput input) { @@ -280,6 +286,7 @@ default CompletableFuture createContext(CreateContextInput * config management. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture createContext(CreateContextInput input, RequestOverrideConfig overrideConfig); @@ -288,6 +295,7 @@ default CompletableFuture createContext(CreateContextInput * Creates a new default config entry with specified key, value, schema, and metadata. Default configs * serve as fallback values when no specific context matches. * + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture createDefaultConfig(CreateDefaultConfigInput input) { @@ -298,6 +306,7 @@ default CompletableFuture createDefaultConfig(CreateD * Creates a new default config entry with specified key, value, schema, and metadata. Default configs * serve as fallback values when no specific context matches. * + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture createDefaultConfig(CreateDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -306,6 +315,7 @@ default CompletableFuture createDefaultConfig(CreateD * Creates a new dimension with the specified json schema. Dimensions define categorical attributes * used for context-based config management. * + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture createDimension(CreateDimensionInput input) { @@ -316,6 +326,7 @@ default CompletableFuture createDimension(CreateDimension * Creates a new dimension with the specified json schema. Dimensions define categorical attributes * used for context-based config management. * + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture createDimension(CreateDimensionInput input, RequestOverrideConfig overrideConfig); @@ -324,6 +335,7 @@ default CompletableFuture createDimension(CreateDimension * Creates a new experiment with variants, context and conditions. You can optionally specify metrics * and experiment group for tracking and analysis. * + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture createExperiment(CreateExperimentInput input) { @@ -334,6 +346,7 @@ default CompletableFuture createExperiment(CreateExperim * Creates a new experiment with variants, context and conditions. You can optionally specify metrics * and experiment group for tracking and analysis. * + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture createExperiment(CreateExperimentInput input, RequestOverrideConfig overrideConfig); @@ -483,6 +496,7 @@ default CompletableFuture createWorkspace(CreateWorkspace * config resolution. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture deleteContext(DeleteContextInput input) { @@ -494,6 +508,7 @@ default CompletableFuture deleteContext(DeleteContextInput * config resolution. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture deleteContext(DeleteContextInput input, RequestOverrideConfig overrideConfig); @@ -503,6 +518,7 @@ default CompletableFuture deleteContext(DeleteContextInput * it affects config resolution for contexts that rely on this fallback value. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture deleteDefaultConfig(DeleteDefaultConfigInput input) { @@ -514,6 +530,7 @@ default CompletableFuture deleteDefaultConfig(DeleteD * it affects config resolution for contexts that rely on this fallback value. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture deleteDefaultConfig(DeleteDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -523,6 +540,7 @@ default CompletableFuture deleteDefaultConfig(DeleteD * active dependencies or is referenced by existing configurations. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture deleteDimension(DeleteDimensionInput input) { @@ -534,6 +552,7 @@ default CompletableFuture deleteDimension(DeleteDimension * active dependencies or is referenced by existing configurations. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture deleteDimension(DeleteDimensionInput input, RequestOverrideConfig overrideConfig); @@ -657,6 +676,7 @@ default CompletableFuture deleteWebhook(DeleteWebhookInput * its effects. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture discardExperiment(DiscardExperimentInput input) { @@ -668,6 +688,7 @@ default CompletableFuture discardExperiment(DiscardExpe * its effects. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture discardExperiment(DiscardExperimentInput input, RequestOverrideConfig overrideConfig); @@ -731,6 +752,7 @@ default CompletableFuture getContext(GetContextInput input) { * would apply to specific scenarios. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture getContextFromCondition(GetContextFromConditionInput input) { @@ -742,6 +764,7 @@ default CompletableFuture getContextFromCondition * would apply to specific scenarios. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture getContextFromCondition(GetContextFromConditionInput input, RequestOverrideConfig overrideConfig); @@ -1303,6 +1326,7 @@ default CompletableFuture migrateWorkspaceSchema(M * it merges the override and effectively deleting the old context * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture moveContext(MoveContextInput input) { @@ -1314,6 +1338,7 @@ default CompletableFuture moveContext(MoveContextInput input) * it merges the override and effectively deleting the old context * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture moveContext(MoveContextInput input, RequestOverrideConfig overrideConfig); @@ -1323,6 +1348,7 @@ default CompletableFuture moveContext(MoveContextInput input) * config for later resumption. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture pauseExperiment(PauseExperimentInput input) { @@ -1334,6 +1360,7 @@ default CompletableFuture pauseExperiment(PauseExperiment * config for later resumption. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture pauseExperiment(PauseExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1363,6 +1390,7 @@ default CompletableFuture publish(PublishInput input) { * rollback of experimental features. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture rampExperiment(RampExperimentInput input) { @@ -1374,6 +1402,7 @@ default CompletableFuture rampExperiment(RampExperimentInp * rollback of experimental features. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture rampExperiment(RampExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1401,6 +1430,7 @@ default CompletableFuture removeMembersFromGroup(R * evaluation. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture resumeExperiment(ResumeExperimentInput input) { @@ -1412,6 +1442,7 @@ default CompletableFuture resumeExperiment(ResumeExperim * evaluation. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture resumeExperiment(ResumeExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1475,6 +1506,7 @@ default CompletableFuture test(TestInput input) { * and description while preserving the key identifier. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture updateDefaultConfig(UpdateDefaultConfigInput input) { @@ -1486,6 +1518,7 @@ default CompletableFuture updateDefaultConfig(UpdateD * and description while preserving the key identifier. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture updateDefaultConfig(UpdateDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -1495,6 +1528,7 @@ default CompletableFuture updateDefaultConfig(UpdateD * mappings, and other properties while maintaining dependency relationships. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture updateDimension(UpdateDimensionInput input) { @@ -1506,6 +1540,7 @@ default CompletableFuture updateDimension(UpdateDimension * mappings, and other properties while maintaining dependency relationships. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture updateDimension(UpdateDimensionInput input, RequestOverrideConfig overrideConfig); @@ -1573,6 +1608,7 @@ default CompletableFuture updateOrganisation(UpdateOrg * maintaining the context's conditions. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture updateOverride(UpdateOverrideInput input) { @@ -1584,6 +1620,7 @@ default CompletableFuture updateOverride(UpdateOverrideInp * maintaining the context's conditions. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture updateOverride(UpdateOverrideInput input, RequestOverrideConfig overrideConfig); @@ -1594,6 +1631,7 @@ default CompletableFuture updateOverride(UpdateOverrideInp * modification of experiment behavior while it is in the created state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CompletableFuture updateOverridesExperiment(UpdateOverridesExperimentInput input) { @@ -1606,6 +1644,7 @@ default CompletableFuture updateOverridesExperi * modification of experiment behavior while it is in the created state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CompletableFuture updateOverridesExperiment(UpdateOverridesExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1729,6 +1768,7 @@ default CompletableFuture validateContext(ValidateContext * dimensions. * * @throws InternalServerError + * @throws WebhookFailed */ default CompletableFuture weightRecompute(WeightRecomputeInput input) { return weightRecompute(input, null); @@ -1739,6 +1779,7 @@ default CompletableFuture weightRecompute(WeightRecompute * dimensions. * * @throws InternalServerError + * @throws WebhookFailed */ CompletableFuture weightRecompute(WeightRecomputeInput input, RequestOverrideConfig overrideConfig); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java b/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java index 7f3a64d31..578d6791f 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java @@ -167,6 +167,7 @@ import io.juspay.superposition.model.UpdateWorkspaceOutput; import io.juspay.superposition.model.ValidateContextInput; import io.juspay.superposition.model.ValidateContextOutput; +import io.juspay.superposition.model.WebhookFailed; import io.juspay.superposition.model.WeightRecomputeInput; import io.juspay.superposition.model.WeightRecomputeOutput; import software.amazon.smithy.aws.traits.protocols.RestJson1Trait; @@ -228,6 +229,7 @@ default ApplicableVariantsOutput applicableVariants(ApplicableVariantsInput inpu * efficient batch processing. * * @throws InternalServerError + * @throws WebhookFailed * @throws ResourceNotFound */ default BulkOperationOutput bulkOperation(BulkOperationInput input) { @@ -239,6 +241,7 @@ default BulkOperationOutput bulkOperation(BulkOperationInput input) { * efficient batch processing. * * @throws InternalServerError + * @throws WebhookFailed * @throws ResourceNotFound */ BulkOperationOutput bulkOperation(BulkOperationInput input, RequestOverrideConfig overrideConfig); @@ -248,6 +251,7 @@ default BulkOperationOutput bulkOperation(BulkOperationInput input) { * to a concluded state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default ConcludeExperimentOutput concludeExperiment(ConcludeExperimentInput input) { @@ -259,6 +263,7 @@ default ConcludeExperimentOutput concludeExperiment(ConcludeExperimentInput inpu * to a concluded state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ ConcludeExperimentOutput concludeExperiment(ConcludeExperimentInput input, RequestOverrideConfig overrideConfig); @@ -268,6 +273,7 @@ default ConcludeExperimentOutput concludeExperiment(ConcludeExperimentInput inpu * config management. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default CreateContextOutput createContext(CreateContextInput input) { @@ -279,6 +285,7 @@ default CreateContextOutput createContext(CreateContextInput input) { * config management. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ CreateContextOutput createContext(CreateContextInput input, RequestOverrideConfig overrideConfig); @@ -287,6 +294,7 @@ default CreateContextOutput createContext(CreateContextInput input) { * Creates a new default config entry with specified key, value, schema, and metadata. Default configs * serve as fallback values when no specific context matches. * + * @throws WebhookFailed * @throws InternalServerError */ default CreateDefaultConfigOutput createDefaultConfig(CreateDefaultConfigInput input) { @@ -297,6 +305,7 @@ default CreateDefaultConfigOutput createDefaultConfig(CreateDefaultConfigInput i * Creates a new default config entry with specified key, value, schema, and metadata. Default configs * serve as fallback values when no specific context matches. * + * @throws WebhookFailed * @throws InternalServerError */ CreateDefaultConfigOutput createDefaultConfig(CreateDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -305,6 +314,7 @@ default CreateDefaultConfigOutput createDefaultConfig(CreateDefaultConfigInput i * Creates a new dimension with the specified json schema. Dimensions define categorical attributes * used for context-based config management. * + * @throws WebhookFailed * @throws InternalServerError */ default CreateDimensionOutput createDimension(CreateDimensionInput input) { @@ -315,6 +325,7 @@ default CreateDimensionOutput createDimension(CreateDimensionInput input) { * Creates a new dimension with the specified json schema. Dimensions define categorical attributes * used for context-based config management. * + * @throws WebhookFailed * @throws InternalServerError */ CreateDimensionOutput createDimension(CreateDimensionInput input, RequestOverrideConfig overrideConfig); @@ -323,6 +334,7 @@ default CreateDimensionOutput createDimension(CreateDimensionInput input) { * Creates a new experiment with variants, context and conditions. You can optionally specify metrics * and experiment group for tracking and analysis. * + * @throws WebhookFailed * @throws InternalServerError */ default CreateExperimentOutput createExperiment(CreateExperimentInput input) { @@ -333,6 +345,7 @@ default CreateExperimentOutput createExperiment(CreateExperimentInput input) { * Creates a new experiment with variants, context and conditions. You can optionally specify metrics * and experiment group for tracking and analysis. * + * @throws WebhookFailed * @throws InternalServerError */ CreateExperimentOutput createExperiment(CreateExperimentInput input, RequestOverrideConfig overrideConfig); @@ -482,6 +495,7 @@ default CreateWorkspaceOutput createWorkspace(CreateWorkspaceInput input) { * config resolution. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default DeleteContextOutput deleteContext(DeleteContextInput input) { @@ -493,6 +507,7 @@ default DeleteContextOutput deleteContext(DeleteContextInput input) { * config resolution. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ DeleteContextOutput deleteContext(DeleteContextInput input, RequestOverrideConfig overrideConfig); @@ -502,6 +517,7 @@ default DeleteContextOutput deleteContext(DeleteContextInput input) { * it affects config resolution for contexts that rely on this fallback value. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default DeleteDefaultConfigOutput deleteDefaultConfig(DeleteDefaultConfigInput input) { @@ -513,6 +529,7 @@ default DeleteDefaultConfigOutput deleteDefaultConfig(DeleteDefaultConfigInput i * it affects config resolution for contexts that rely on this fallback value. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ DeleteDefaultConfigOutput deleteDefaultConfig(DeleteDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -522,6 +539,7 @@ default DeleteDefaultConfigOutput deleteDefaultConfig(DeleteDefaultConfigInput i * active dependencies or is referenced by existing configurations. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default DeleteDimensionOutput deleteDimension(DeleteDimensionInput input) { @@ -533,6 +551,7 @@ default DeleteDimensionOutput deleteDimension(DeleteDimensionInput input) { * active dependencies or is referenced by existing configurations. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ DeleteDimensionOutput deleteDimension(DeleteDimensionInput input, RequestOverrideConfig overrideConfig); @@ -656,6 +675,7 @@ default DeleteWebhookOutput deleteWebhook(DeleteWebhookInput input) { * its effects. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default DiscardExperimentOutput discardExperiment(DiscardExperimentInput input) { @@ -667,6 +687,7 @@ default DiscardExperimentOutput discardExperiment(DiscardExperimentInput input) * its effects. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ DiscardExperimentOutput discardExperiment(DiscardExperimentInput input, RequestOverrideConfig overrideConfig); @@ -730,6 +751,7 @@ default GetContextOutput getContext(GetContextInput input) { * would apply to specific scenarios. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default GetContextFromConditionOutput getContextFromCondition(GetContextFromConditionInput input) { @@ -741,6 +763,7 @@ default GetContextFromConditionOutput getContextFromCondition(GetContextFromCond * would apply to specific scenarios. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ GetContextFromConditionOutput getContextFromCondition(GetContextFromConditionInput input, RequestOverrideConfig overrideConfig); @@ -1302,6 +1325,7 @@ default MigrateWorkspaceSchemaOutput migrateWorkspaceSchema(MigrateWorkspaceSche * it merges the override and effectively deleting the old context * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default MoveContextOutput moveContext(MoveContextInput input) { @@ -1313,6 +1337,7 @@ default MoveContextOutput moveContext(MoveContextInput input) { * it merges the override and effectively deleting the old context * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ MoveContextOutput moveContext(MoveContextInput input, RequestOverrideConfig overrideConfig); @@ -1322,6 +1347,7 @@ default MoveContextOutput moveContext(MoveContextInput input) { * config for later resumption. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default PauseExperimentOutput pauseExperiment(PauseExperimentInput input) { @@ -1333,6 +1359,7 @@ default PauseExperimentOutput pauseExperiment(PauseExperimentInput input) { * config for later resumption. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ PauseExperimentOutput pauseExperiment(PauseExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1362,6 +1389,7 @@ default PublishOutput publish(PublishInput input) { * rollback of experimental features. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default RampExperimentOutput rampExperiment(RampExperimentInput input) { @@ -1373,6 +1401,7 @@ default RampExperimentOutput rampExperiment(RampExperimentInput input) { * rollback of experimental features. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ RampExperimentOutput rampExperiment(RampExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1400,6 +1429,7 @@ default RemoveMembersFromGroupOutput removeMembersFromGroup(RemoveMembersFromGro * evaluation. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default ResumeExperimentOutput resumeExperiment(ResumeExperimentInput input) { @@ -1411,6 +1441,7 @@ default ResumeExperimentOutput resumeExperiment(ResumeExperimentInput input) { * evaluation. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ ResumeExperimentOutput resumeExperiment(ResumeExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1474,6 +1505,7 @@ default TestOutput test(TestInput input) { * and description while preserving the key identifier. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default UpdateDefaultConfigOutput updateDefaultConfig(UpdateDefaultConfigInput input) { @@ -1485,6 +1517,7 @@ default UpdateDefaultConfigOutput updateDefaultConfig(UpdateDefaultConfigInput i * and description while preserving the key identifier. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ UpdateDefaultConfigOutput updateDefaultConfig(UpdateDefaultConfigInput input, RequestOverrideConfig overrideConfig); @@ -1494,6 +1527,7 @@ default UpdateDefaultConfigOutput updateDefaultConfig(UpdateDefaultConfigInput i * mappings, and other properties while maintaining dependency relationships. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default UpdateDimensionOutput updateDimension(UpdateDimensionInput input) { @@ -1505,6 +1539,7 @@ default UpdateDimensionOutput updateDimension(UpdateDimensionInput input) { * mappings, and other properties while maintaining dependency relationships. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ UpdateDimensionOutput updateDimension(UpdateDimensionInput input, RequestOverrideConfig overrideConfig); @@ -1572,6 +1607,7 @@ default UpdateOrganisationOutput updateOrganisation(UpdateOrganisationInput inpu * maintaining the context's conditions. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default UpdateOverrideOutput updateOverride(UpdateOverrideInput input) { @@ -1583,6 +1619,7 @@ default UpdateOverrideOutput updateOverride(UpdateOverrideInput input) { * maintaining the context's conditions. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ UpdateOverrideOutput updateOverride(UpdateOverrideInput input, RequestOverrideConfig overrideConfig); @@ -1593,6 +1630,7 @@ default UpdateOverrideOutput updateOverride(UpdateOverrideInput input) { * modification of experiment behavior while it is in the created state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ default UpdateOverridesExperimentOutput updateOverridesExperiment(UpdateOverridesExperimentInput input) { @@ -1605,6 +1643,7 @@ default UpdateOverridesExperimentOutput updateOverridesExperiment(UpdateOverride * modification of experiment behavior while it is in the created state. * * @throws ResourceNotFound + * @throws WebhookFailed * @throws InternalServerError */ UpdateOverridesExperimentOutput updateOverridesExperiment(UpdateOverridesExperimentInput input, RequestOverrideConfig overrideConfig); @@ -1728,6 +1767,7 @@ default ValidateContextOutput validateContext(ValidateContextInput input) { * dimensions. * * @throws InternalServerError + * @throws WebhookFailed */ default WeightRecomputeOutput weightRecompute(WeightRecomputeInput input) { return weightRecompute(input, null); @@ -1738,6 +1778,7 @@ default WeightRecomputeOutput weightRecompute(WeightRecomputeInput input) { * dimensions. * * @throws InternalServerError + * @throws WebhookFailed */ WeightRecomputeOutput weightRecompute(WeightRecomputeInput input, RequestOverrideConfig overrideConfig); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java index 2254219a9..810f0ff65 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java @@ -27,6 +27,7 @@ public final class BulkOperation implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java index 35553c14d..4fd37b63f 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java @@ -28,6 +28,7 @@ public final class CreateContext implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDefaultConfig.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDefaultConfig.java index 534630ce1..a6c32fccc 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDefaultConfig.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDefaultConfig.java @@ -27,6 +27,7 @@ public final class CreateDefaultConfig implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java index 986793b12..512836b16 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java @@ -27,6 +27,7 @@ public final class CreateDimension implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateExperiment.java index e3f514089..049a196ac 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateExperiment.java @@ -27,6 +27,7 @@ public final class CreateExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java index 3b17cef67..edee73c95 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java @@ -28,6 +28,7 @@ public final class DeleteContext implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDefaultConfig.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDefaultConfig.java index 6aa7f5e2e..6de581b68 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDefaultConfig.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDefaultConfig.java @@ -28,6 +28,7 @@ public final class DeleteDefaultConfig implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java index 7996787f9..3068c0c34 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java @@ -28,6 +28,7 @@ public final class DeleteDimension implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DiscardExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DiscardExperiment.java index 6366ff50d..b066f6b5c 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/DiscardExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/DiscardExperiment.java @@ -28,6 +28,7 @@ public final class DiscardExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/GetContextFromCondition.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/GetContextFromCondition.java index b01f56095..46dcb3242 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/GetContextFromCondition.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/GetContextFromCondition.java @@ -28,6 +28,7 @@ public final class GetContextFromCondition implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java index b062f1920..999f44ec9 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java @@ -28,6 +28,7 @@ public final class MoveContext implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/PauseExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/PauseExperiment.java index a4235d980..671d0f9db 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/PauseExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/PauseExperiment.java @@ -28,6 +28,7 @@ public final class PauseExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/RampExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/RampExperiment.java index ecf15b3fe..60a2e3265 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/RampExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/RampExperiment.java @@ -28,6 +28,7 @@ public final class RampExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/ResumeExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/ResumeExperiment.java index d272c7d92..fae8329d1 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/ResumeExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/ResumeExperiment.java @@ -28,6 +28,7 @@ public final class ResumeExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDefaultConfig.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDefaultConfig.java index 099149706..935e0e099 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDefaultConfig.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDefaultConfig.java @@ -28,6 +28,7 @@ public final class UpdateDefaultConfig implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java index e0e5fcc31..66b2c578d 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java @@ -28,6 +28,7 @@ public final class UpdateDimension implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java index 69d801b06..ebfed49e1 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java @@ -28,6 +28,7 @@ public final class UpdateOverride implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverridesExperiment.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverridesExperiment.java index 0a2002752..fc6566cf2 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverridesExperiment.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverridesExperiment.java @@ -29,6 +29,7 @@ public final class UpdateOverridesExperiment implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/WebhookFailed.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/WebhookFailed.java new file mode 100644 index 000000000..fec33782c --- /dev/null +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/WebhookFailed.java @@ -0,0 +1,172 @@ + +package io.juspay.superposition.model; + +import software.amazon.smithy.java.core.error.ModeledException; +import software.amazon.smithy.java.core.schema.PreludeSchemas; +import software.amazon.smithy.java.core.schema.Schema; +import software.amazon.smithy.java.core.schema.SchemaUtils; +import software.amazon.smithy.java.core.schema.ShapeBuilder; +import software.amazon.smithy.java.core.serde.ShapeDeserializer; +import software.amazon.smithy.java.core.serde.ShapeSerializer; +import software.amazon.smithy.java.core.serde.ToStringSerializer; +import software.amazon.smithy.java.core.serde.document.Document; +import software.amazon.smithy.model.shapes.ShapeId; +import software.amazon.smithy.model.traits.ErrorTrait; +import software.amazon.smithy.model.traits.HttpErrorTrait; +import software.amazon.smithy.utils.SmithyGenerated; + +/** + * Indicates that the operation succeeded but the webhook call failed. The response body contains the + * successful result, but the client should be aware that webhook notification did not complete. + */ +@SmithyGenerated +public final class WebhookFailed extends ModeledException { + public static final ShapeId $ID = ShapeId.from("io.superposition#WebhookFailed"); + + public static final Schema $SCHEMA = Schema.structureBuilder($ID, + new ErrorTrait("server"), + new HttpErrorTrait(512)) + .putMember("data", PreludeSchemas.DOCUMENT) + .build(); + + private static final Schema $SCHEMA_DATA = $SCHEMA.member("data"); + + private final transient Document data; + + private WebhookFailed(Builder builder) { + super($SCHEMA, null, builder.$cause, builder.$captureStackTrace, builder.$deserialized); + this.data = builder.data; + } + + /** + * The successful operation result that would have been returned with HTTP 200. The structure matches + * the operation's normal output type. + */ + public Document data() { + return data; + } + + @Override + public String toString() { + return ToStringSerializer.serialize(this); + } + + @Override + public void serializeMembers(ShapeSerializer serializer) { + if (data != null) { + serializer.writeDocument($SCHEMA_DATA, data); + } + } + + @Override + @SuppressWarnings("unchecked") + public T getMemberValue(Schema member) { + return switch (member.memberIndex()) { + case 0 -> (T) SchemaUtils.validateSameMember($SCHEMA_DATA, member, data); + default -> throw new IllegalArgumentException("Attempted to get non-existent member: " + member.id()); + }; + } + + /** + * Create a new builder containing all the current property values of this object. + * + *

Note: This method performs only a shallow copy of the original properties. + * + * @return a builder for {@link WebhookFailed}. + */ + public Builder toBuilder() { + var builder = new Builder(); + builder.data(this.data); + return builder; + } + + /** + * @return returns a new Builder. + */ + public static Builder builder() { + return new Builder(); + } + + /** + * Builder for {@link WebhookFailed}. + */ + public static final class Builder implements ShapeBuilder { + private Document data; + private Throwable $cause; + private Boolean $captureStackTrace; + private boolean $deserialized; + + private Builder() {} + + @Override + public Schema schema() { + return $SCHEMA; + } + + /** + * The successful operation result that would have been returned with HTTP 200. The structure matches + * the operation's normal output type. + * + * @return this builder. + */ + public Builder data(Document data) { + this.data = data; + return this; + } + + public Builder withStackTrace() { + this.$captureStackTrace = true; + return this; + } + + public Builder withoutStackTrace() { + this.$captureStackTrace = false; + return this; + } + + public Builder withCause(Throwable cause) { + this.$cause = cause; + return this; + } + + @Override + public WebhookFailed build() { + return new WebhookFailed(this); + } + + @Override + @SuppressWarnings("unchecked") + public void setMemberValue(Schema member, Object value) { + switch (member.memberIndex()) { + case 0 -> data((Document) SchemaUtils.validateSameMember($SCHEMA_DATA, member, value)); + default -> ShapeBuilder.super.setMemberValue(member, value); + } + } + + @Override + public Builder deserialize(ShapeDeserializer decoder) { + this.$deserialized = true; + decoder.readStruct($SCHEMA, this, $InnerDeserializer.INSTANCE); + return this; + } + + @Override + public Builder deserializeMember(ShapeDeserializer decoder, Schema schema) { + decoder.readStruct(schema.assertMemberTargetIs($SCHEMA), this, $InnerDeserializer.INSTANCE); + return this; + } + + private static final class $InnerDeserializer implements ShapeDeserializer.StructMemberConsumer { + private static final $InnerDeserializer INSTANCE = new $InnerDeserializer(); + + @Override + public void accept(Builder builder, Schema member, ShapeDeserializer de) { + switch (member.memberIndex()) { + case 0 -> builder.data(de.readDocument()); + default -> throw new IllegalArgumentException("Unexpected member: " + member.memberName()); + } + } + } + } +} + diff --git a/clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java b/clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java index 725d1db8e..93cf81b07 100644 --- a/clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java +++ b/clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java @@ -27,6 +27,7 @@ public final class WeightRecompute implements ApiOperation SCHEMES = List.of(ShapeId.from("smithy.api#httpBasicAuth"), ShapeId.from("smithy.api#httpBearerAuth")); diff --git a/clients/javascript/sdk/src/commands/BulkOperationCommand.ts b/clients/javascript/sdk/src/commands/BulkOperationCommand.ts index 3531b1519..600ae4ded 100644 --- a/clients/javascript/sdk/src/commands/BulkOperationCommand.ts +++ b/clients/javascript/sdk/src/commands/BulkOperationCommand.ts @@ -156,6 +156,9 @@ export interface BulkOperationCommandOutput extends BulkOperationOutput, __Metad * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/ConcludeExperimentCommand.ts b/clients/javascript/sdk/src/commands/ConcludeExperimentCommand.ts index a7ae2162b..041b8b99c 100644 --- a/clients/javascript/sdk/src/commands/ConcludeExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/ConcludeExperimentCommand.ts @@ -99,6 +99,9 @@ export interface ConcludeExperimentCommandOutput extends ExperimentResponse, __M * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/CreateContextCommand.ts b/clients/javascript/sdk/src/commands/CreateContextCommand.ts index 94f2a278d..01a7cab0c 100644 --- a/clients/javascript/sdk/src/commands/CreateContextCommand.ts +++ b/clients/javascript/sdk/src/commands/CreateContextCommand.ts @@ -87,6 +87,9 @@ export interface CreateContextCommandOutput extends ContextResponse, __MetadataB * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/CreateDefaultConfigCommand.ts b/clients/javascript/sdk/src/commands/CreateDefaultConfigCommand.ts index 641ed2d52..549d0600d 100644 --- a/clients/javascript/sdk/src/commands/CreateDefaultConfigCommand.ts +++ b/clients/javascript/sdk/src/commands/CreateDefaultConfigCommand.ts @@ -81,6 +81,9 @@ export interface CreateDefaultConfigCommandOutput extends DefaultConfigResponse, * @see {@link CreateDefaultConfigCommandOutput} for command's `response` shape. * @see {@link SuperpositionClientResolvedConfig | config} for SuperpositionClient's `config` shape. * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/CreateDimensionCommand.ts b/clients/javascript/sdk/src/commands/CreateDimensionCommand.ts index 483f133bc..638d2bd05 100644 --- a/clients/javascript/sdk/src/commands/CreateDimensionCommand.ts +++ b/clients/javascript/sdk/src/commands/CreateDimensionCommand.ts @@ -97,6 +97,9 @@ export interface CreateDimensionCommandOutput extends DimensionResponse, __Metad * @see {@link CreateDimensionCommandOutput} for command's `response` shape. * @see {@link SuperpositionClientResolvedConfig | config} for SuperpositionClient's `config` shape. * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/CreateExperimentCommand.ts b/clients/javascript/sdk/src/commands/CreateExperimentCommand.ts index af5ee0221..391828b13 100644 --- a/clients/javascript/sdk/src/commands/CreateExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/CreateExperimentCommand.ts @@ -113,6 +113,9 @@ export interface CreateExperimentCommandOutput extends ExperimentResponse, __Met * @see {@link CreateExperimentCommandOutput} for command's `response` shape. * @see {@link SuperpositionClientResolvedConfig | config} for SuperpositionClient's `config` shape. * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/DeleteContextCommand.ts b/clients/javascript/sdk/src/commands/DeleteContextCommand.ts index 94f58e3ef..ca3daa1d1 100644 --- a/clients/javascript/sdk/src/commands/DeleteContextCommand.ts +++ b/clients/javascript/sdk/src/commands/DeleteContextCommand.ts @@ -59,6 +59,9 @@ export interface DeleteContextCommandOutput extends __MetadataBearer {} * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/DeleteDefaultConfigCommand.ts b/clients/javascript/sdk/src/commands/DeleteDefaultConfigCommand.ts index bfeafecea..477e7cabd 100644 --- a/clients/javascript/sdk/src/commands/DeleteDefaultConfigCommand.ts +++ b/clients/javascript/sdk/src/commands/DeleteDefaultConfigCommand.ts @@ -58,6 +58,9 @@ export interface DeleteDefaultConfigCommandOutput extends __MetadataBearer {} * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts b/clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts index 43ced7cf3..eff0ace66 100644 --- a/clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts +++ b/clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts @@ -58,6 +58,9 @@ export interface DeleteDimensionCommandOutput extends __MetadataBearer {} * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/DiscardExperimentCommand.ts b/clients/javascript/sdk/src/commands/DiscardExperimentCommand.ts index 56e0b8629..ec4f65821 100644 --- a/clients/javascript/sdk/src/commands/DiscardExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/DiscardExperimentCommand.ts @@ -97,6 +97,9 @@ export interface DiscardExperimentCommandOutput extends ExperimentResponse, __Me * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/GetContextFromConditionCommand.ts b/clients/javascript/sdk/src/commands/GetContextFromConditionCommand.ts index d1236a8a7..74fee73e3 100644 --- a/clients/javascript/sdk/src/commands/GetContextFromConditionCommand.ts +++ b/clients/javascript/sdk/src/commands/GetContextFromConditionCommand.ts @@ -77,6 +77,9 @@ export interface GetContextFromConditionCommandOutput extends ContextResponse, _ * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/MoveContextCommand.ts b/clients/javascript/sdk/src/commands/MoveContextCommand.ts index d734aeaf2..8a1e016c9 100644 --- a/clients/javascript/sdk/src/commands/MoveContextCommand.ts +++ b/clients/javascript/sdk/src/commands/MoveContextCommand.ts @@ -84,6 +84,9 @@ export interface MoveContextCommandOutput extends ContextResponse, __MetadataBea * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/PauseExperimentCommand.ts b/clients/javascript/sdk/src/commands/PauseExperimentCommand.ts index a2116bf95..0f71e68ed 100644 --- a/clients/javascript/sdk/src/commands/PauseExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/PauseExperimentCommand.ts @@ -97,6 +97,9 @@ export interface PauseExperimentCommandOutput extends ExperimentResponse, __Meta * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/RampExperimentCommand.ts b/clients/javascript/sdk/src/commands/RampExperimentCommand.ts index 251b45b90..3dd486e3f 100644 --- a/clients/javascript/sdk/src/commands/RampExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/RampExperimentCommand.ts @@ -98,6 +98,9 @@ export interface RampExperimentCommandOutput extends ExperimentResponse, __Metad * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/ResumeExperimentCommand.ts b/clients/javascript/sdk/src/commands/ResumeExperimentCommand.ts index c8c7eede6..2dff307cb 100644 --- a/clients/javascript/sdk/src/commands/ResumeExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/ResumeExperimentCommand.ts @@ -97,6 +97,9 @@ export interface ResumeExperimentCommandOutput extends ExperimentResponse, __Met * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/UpdateDefaultConfigCommand.ts b/clients/javascript/sdk/src/commands/UpdateDefaultConfigCommand.ts index eaf93fab0..33bad2765 100644 --- a/clients/javascript/sdk/src/commands/UpdateDefaultConfigCommand.ts +++ b/clients/javascript/sdk/src/commands/UpdateDefaultConfigCommand.ts @@ -83,6 +83,9 @@ export interface UpdateDefaultConfigCommandOutput extends DefaultConfigResponse, * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts b/clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts index db7319851..f3eeae324 100644 --- a/clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts +++ b/clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts @@ -94,6 +94,9 @@ export interface UpdateDimensionCommandOutput extends DimensionResponse, __Metad * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts b/clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts index 333ea8bc2..82f2077b7 100644 --- a/clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts +++ b/clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts @@ -90,6 +90,9 @@ export interface UpdateOverrideCommandOutput extends ContextResponse, __Metadata * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/UpdateOverridesExperimentCommand.ts b/clients/javascript/sdk/src/commands/UpdateOverridesExperimentCommand.ts index 5f9275dca..36d437a20 100644 --- a/clients/javascript/sdk/src/commands/UpdateOverridesExperimentCommand.ts +++ b/clients/javascript/sdk/src/commands/UpdateOverridesExperimentCommand.ts @@ -108,6 +108,9 @@ export interface UpdateOverridesExperimentCommandOutput extends ExperimentRespon * * @throws {@link ResourceNotFound} (client fault) * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts b/clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts index 95966b3b9..c91342a76 100644 --- a/clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts +++ b/clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts @@ -70,6 +70,9 @@ export interface WeightRecomputeCommandOutput extends WeightRecomputeOutput, __M * @see {@link WeightRecomputeCommandOutput} for command's `response` shape. * @see {@link SuperpositionClientResolvedConfig | config} for SuperpositionClient's `config` shape. * + * @throws {@link WebhookFailed} (server fault) + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * * @throws {@link InternalServerError} (server fault) * * @throws {@link SuperpositionServiceException} diff --git a/clients/javascript/sdk/src/models/models_0.ts b/clients/javascript/sdk/src/models/models_0.ts index df0b2944c..a23584ba3 100644 --- a/clients/javascript/sdk/src/models/models_0.ts +++ b/clients/javascript/sdk/src/models/models_0.ts @@ -570,6 +570,32 @@ export interface BulkOperationOutput { output: (ContextActionOut)[] | undefined; } +/** + * Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + * @public + */ +export class WebhookFailed extends __BaseException { + readonly name: "WebhookFailed" = "WebhookFailed"; + readonly $fault: "server" = "server"; + /** + * The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + * @public + */ + data?: __DocumentType | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType) { + super({ + name: "WebhookFailed", + $fault: "server", + ...opts + }); + Object.setPrototypeOf(this, WebhookFailed.prototype); + this.data = opts.data; + } +} + /** * @public */ diff --git a/clients/javascript/sdk/src/protocols/Aws_restJson1.ts b/clients/javascript/sdk/src/protocols/Aws_restJson1.ts index 32347ddc9..7bd23af48 100644 --- a/clients/javascript/sdk/src/protocols/Aws_restJson1.ts +++ b/clients/javascript/sdk/src/protocols/Aws_restJson1.ts @@ -366,6 +366,7 @@ import { VariableResponse, Variant, VariantUpdateRequest, + WebhookFailed, WebhookResponse, WeightRecomputeResponse, WorkspaceResponse, @@ -4964,6 +4965,9 @@ const de_CommandError = async( case "ResourceNotFound": case "io.superposition#ResourceNotFound": throw await de_ResourceNotFoundRes(parsedOutput, context); + case "WebhookFailed": + case "io.superposition#WebhookFailed": + throw await de_WebhookFailedRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -5016,6 +5020,27 @@ const de_CommandError = async( return __decorateServiceException(exception, parsedOutput.body); }; + /** + * deserializeAws_restJson1WebhookFailedRes + */ + const de_WebhookFailedRes = async ( + parsedOutput: any, + context: __SerdeContext + ): Promise => { + const contents: any = map({ + }); + const data: any = parsedOutput.body; + const doc = take(data, { + 'data': _ => de_Document(_, context), + }); + Object.assign(contents, doc); + const exception = new WebhookFailed({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return __decorateServiceException(exception, parsedOutput.body); + }; + /** * serializeAws_restJson1BulkOperationList */ diff --git a/clients/python/sdk/superposition_sdk/_private/schemas.py b/clients/python/sdk/superposition_sdk/_private/schemas.py index aba0a7831..b2ddfd959 100644 --- a/clients/python/sdk/superposition_sdk/_private/schemas.py +++ b/clients/python/sdk/superposition_sdk/_private/schemas.py @@ -1282,6 +1282,23 @@ } ) +WEBHOOK_FAILED = Schema.collection( + id=ShapeID("io.superposition#WebhookFailed"), + + traits=[ + Trait.new(id=ShapeID("smithy.api#error"), value="server"), + Trait.new(id=ShapeID("smithy.api#httpError"), value=512), + + ], + members={ + "data": { + "target": DOCUMENT, + "index": 0, + }, + + } +) + BULK_OPERATION = Schema( id=ShapeID("io.superposition#BulkOperation"), shape_type=ShapeType.OPERATION, diff --git a/clients/python/sdk/superposition_sdk/deserialize.py b/clients/python/sdk/superposition_sdk/deserialize.py index 13f01e404..89941e856 100644 --- a/clients/python/sdk/superposition_sdk/deserialize.py +++ b/clients/python/sdk/superposition_sdk/deserialize.py @@ -100,6 +100,7 @@ UpdateWebhookOutput, UpdateWorkspaceOutput, ValidateContextOutput, + WebhookFailed, WeightRecomputeOutput, ) @@ -179,6 +180,9 @@ async def _deserialize_error_bulk_operation(http_response: HTTPResponse, config: case "internalservererror": return await _deserialize_error_internal_server_error(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) @@ -210,6 +214,9 @@ async def _deserialize_error_conclude_experiment(http_response: HTTPResponse, co case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -238,6 +245,9 @@ async def _deserialize_error_create_context(http_response: HTTPResponse, config: case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -263,6 +273,9 @@ async def _deserialize_error_create_default_config(http_response: HTTPResponse, case "internalservererror": return await _deserialize_error_internal_server_error(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -288,6 +301,9 @@ async def _deserialize_error_create_dimension(http_response: HTTPResponse, confi case "internalservererror": return await _deserialize_error_internal_server_error(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -313,6 +329,9 @@ async def _deserialize_error_create_experiment(http_response: HTTPResponse, conf case "internalservererror": return await _deserialize_error_internal_server_error(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -534,6 +553,9 @@ async def _deserialize_error_delete_context(http_response: HTTPResponse, config: case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -555,6 +577,9 @@ async def _deserialize_error_delete_default_config(http_response: HTTPResponse, case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -576,6 +601,9 @@ async def _deserialize_error_delete_dimension(http_response: HTTPResponse, confi case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -758,6 +786,9 @@ async def _deserialize_error_discard_experiment(http_response: HTTPResponse, con case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -895,6 +926,9 @@ async def _deserialize_error_get_context_from_condition(http_response: HTTPRespo case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -1745,6 +1779,9 @@ async def _deserialize_error_move_context(http_response: HTTPResponse, config: C case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -1773,6 +1810,9 @@ async def _deserialize_error_pause_experiment(http_response: HTTPResponse, confi case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -1829,6 +1869,9 @@ async def _deserialize_error_ramp_experiment(http_response: HTTPResponse, config case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -1885,6 +1928,9 @@ async def _deserialize_error_resume_experiment(http_response: HTTPResponse, conf case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -1991,6 +2037,9 @@ async def _deserialize_error_update_default_config(http_response: HTTPResponse, case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -2019,6 +2068,9 @@ async def _deserialize_error_update_dimension(http_response: HTTPResponse, confi case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -2131,6 +2183,9 @@ async def _deserialize_error_update_override(http_response: HTTPResponse, config case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -2159,6 +2214,9 @@ async def _deserialize_error_update_overrides_experiment(http_response: HTTPResp case "resourcenotfound": return await _deserialize_error_resource_not_found(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -2342,6 +2400,9 @@ async def _deserialize_error_weight_recompute(http_response: HTTPResponse, confi case "internalservererror": return await _deserialize_error_internal_server_error(http_response, config, parsed_body, message) + case "webhookfailed": + return await _deserialize_error_webhook_failed(http_response, config, parsed_body, message) + case _: return UnknownApiError(f"{code}: {message}") @@ -2375,3 +2436,24 @@ async def _deserialize_error_resource_not_found( kwargs: dict[str, Any] = {"message": default_message} return ResourceNotFound(**kwargs) + +async def _deserialize_error_webhook_failed( + http_response: HTTPResponse, + config: Config, + parsed_body: dict[str, DocumentValue] | None, + default_message: str, +) -> WebhookFailed: + kwargs: dict[str, Any] = {"message": default_message} + + if parsed_body is None: + body = await http_response.consume_body_async() + else: + body = json.dumps(parsed_body).encode('utf-8') + + if body: + codec = JSONCodec(default_timestamp_format=TimestampFormat.EPOCH_SECONDS) + deserializer = codec.create_deserializer(body) + body_kwargs = WebhookFailed.deserialize_kwargs(deserializer) + kwargs.update(body_kwargs) + + return WebhookFailed(**kwargs) diff --git a/clients/python/sdk/superposition_sdk/models.py b/clients/python/sdk/superposition_sdk/models.py index d13508ba8..44095f1c1 100644 --- a/clients/python/sdk/superposition_sdk/models.py +++ b/clients/python/sdk/superposition_sdk/models.py @@ -293,6 +293,7 @@ VARIABLE_RESPONSE as _SCHEMA_VARIABLE_RESPONSE, VARIANT as _SCHEMA_VARIANT, VARIANT_UPDATE_REQUEST as _SCHEMA_VARIANT_UPDATE_REQUEST, + WEBHOOK_FAILED as _SCHEMA_WEBHOOK_FAILED, WEBHOOK_RESPONSE as _SCHEMA_WEBHOOK_RESPONSE, WEIGHT_RECOMPUTE as _SCHEMA_WEIGHT_RECOMPUTE, WEIGHT_RECOMPUTE_INPUT as _SCHEMA_WEIGHT_RECOMPUTE_INPUT, @@ -1899,6 +1900,53 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: deserializer.read_struct(_SCHEMA_BULK_OPERATION_OUTPUT, consumer=_consumer) return kwargs +@dataclass(kw_only=True) +class WebhookFailed(ApiError): + """ + Indicates that the operation succeeded but the webhook call failed. The response + body contains the successful result, but the client should be aware that webhook + notification did not complete. + + :param message: A message associated with the specific error. + + :param data: + The successful operation result that would have been returned with HTTP 200. The + structure matches the operation's normal output type. + + """ + + code: ClassVar[str] = "WebhookFailed" + fault: ClassVar[Literal["client", "server"]] = "server" + + message: str + data: Document | None = None + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_WEBHOOK_FAILED, self) + + def serialize_members(self, serializer: ShapeSerializer): + if self.data is not None: + serializer.write_document(_SCHEMA_WEBHOOK_FAILED.members["data"], self.data) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(**cls.deserialize_kwargs(deserializer)) + + @classmethod + def deserialize_kwargs(cls, deserializer: ShapeDeserializer) -> dict[str, Any]: + kwargs: dict[str, Any] = {} + + def _consumer(schema: Schema, de: ShapeDeserializer) -> None: + match schema.expect_member_index(): + case 0: + kwargs["data"] = de.read_document(_SCHEMA_WEBHOOK_FAILED.members["data"]) + + case _: + logger.debug("Unexpected member schema: %s", schema) + + deserializer.read_struct(_SCHEMA_WEBHOOK_FAILED, consumer=_consumer) + return kwargs + BULK_OPERATION = APIOperation( input = BulkOperationInput, output = BulkOperationOutput, @@ -1907,6 +1955,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_BULK_OPERATION_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#InternalServerError"): InternalServerError, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, }), effective_auth_schemes = [ @@ -2196,6 +2245,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_CONCLUDE_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -3532,6 +3582,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_CREATE_CONTEXT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -3616,6 +3667,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_DELETE_CONTEXT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -3936,6 +3988,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_GET_CONTEXT_FROM_CONDITION_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -4288,6 +4341,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_MOVE_CONTEXT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -4452,6 +4506,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_UPDATE_OVERRIDE_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -4704,6 +4759,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_WEIGHT_RECOMPUTE_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#InternalServerError"): InternalServerError, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, }), effective_auth_schemes = [ ShapeID("smithy.api#httpBasicAuth"), @@ -4936,7 +4992,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: input_schema = _SCHEMA_CREATE_DEFAULT_CONFIG_INPUT, output_schema = _SCHEMA_CREATE_DEFAULT_CONFIG_OUTPUT, error_registry = TypeRegistry({ - ShapeID("io.superposition#InternalServerError"): InternalServerError, + ShapeID("io.superposition#WebhookFailed"): WebhookFailed, +ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ ShapeID("smithy.api#httpBasicAuth"), @@ -5164,7 +5221,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: input_schema = _SCHEMA_CREATE_DIMENSION_INPUT, output_schema = _SCHEMA_CREATE_DIMENSION_OUTPUT, error_registry = TypeRegistry({ - ShapeID("io.superposition#InternalServerError"): InternalServerError, + ShapeID("io.superposition#WebhookFailed"): WebhookFailed, +ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ ShapeID("smithy.api#httpBasicAuth"), @@ -5431,7 +5489,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: input_schema = _SCHEMA_CREATE_EXPERIMENT_INPUT, output_schema = _SCHEMA_CREATE_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ - ShapeID("io.superposition#InternalServerError"): InternalServerError, + ShapeID("io.superposition#WebhookFailed"): WebhookFailed, +ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ ShapeID("smithy.api#httpBasicAuth"), @@ -7108,6 +7167,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_DELETE_DEFAULT_CONFIG_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -7706,6 +7766,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_UPDATE_DEFAULT_CONFIG_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -7786,6 +7847,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_DELETE_DIMENSION_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -9148,6 +9210,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_UPDATE_DIMENSION_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -9364,6 +9427,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_DISCARD_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -11050,6 +11114,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_PAUSE_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -11273,6 +11338,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_RAMP_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -11489,6 +11555,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_RESUME_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -11800,6 +11867,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: output_schema = _SCHEMA_UPDATE_OVERRIDES_EXPERIMENT_OUTPUT, error_registry = TypeRegistry({ ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, +ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ diff --git a/crates/superposition_sdk/src/error_meta.rs b/crates/superposition_sdk/src/error_meta.rs index 03e0c44c5..308a51c0c 100644 --- a/crates/superposition_sdk/src/error_meta.rs +++ b/crates/superposition_sdk/src/error_meta.rs @@ -7,6 +7,8 @@ pub enum Error { InternalServerError(crate::types::error::InternalServerError), #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \ variable wildcard pattern and check `.code()`: @@ -21,6 +23,7 @@ impl ::std::fmt::Display for Error { match self { Error::InternalServerError(inner) => inner.fmt(f), Error::ResourceNotFound(inner) => inner.fmt(f), + Error::WebhookFailed(inner) => inner.fmt(f), Error::Unhandled(_) => if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) { write!(f, "unhandled error ({code})") } else { @@ -39,6 +42,7 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error { match self { Self::InternalServerError(inner) => inner.meta(), Self::ResourceNotFound(inner) => inner.meta(), +Self::WebhookFailed(inner) => inner.meta(), Self::Unhandled(inner) => &inner.meta, } } @@ -103,6 +107,7 @@ impl From for Error { fn from(err: crate::operation::bulk_operation::BulkOperationError) -> Self { match err { crate::operation::bulk_operation::BulkOperationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::bulk_operation::BulkOperationError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::bulk_operation::BulkOperationError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::bulk_operation::BulkOperationError::Unhandled(inner) => Error::Unhandled(inner), } @@ -125,6 +130,7 @@ impl From for Er fn from(err: crate::operation::conclude_experiment::ConcludeExperimentError) -> Self { match err { crate::operation::conclude_experiment::ConcludeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::conclude_experiment::ConcludeExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::conclude_experiment::ConcludeExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::conclude_experiment::ConcludeExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -147,6 +153,7 @@ impl From for Error { fn from(err: crate::operation::create_context::CreateContextError) -> Self { match err { crate::operation::create_context::CreateContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::create_context::CreateContextError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::create_context::CreateContextError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::create_context::CreateContextError::Unhandled(inner) => Error::Unhandled(inner), } @@ -168,6 +175,7 @@ impl From<::aws_smithy_runtime_api::client::result::SdkError for Error { fn from(err: crate::operation::create_default_config::CreateDefaultConfigError) -> Self { match err { + crate::operation::create_default_config::CreateDefaultConfigError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::create_default_config::CreateDefaultConfigError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::create_default_config::CreateDefaultConfigError::Unhandled(inner) => Error::Unhandled(inner), } @@ -189,6 +197,7 @@ impl From<::aws_smithy_runtime_api::client::result::SdkError for Error { fn from(err: crate::operation::create_dimension::CreateDimensionError) -> Self { match err { + crate::operation::create_dimension::CreateDimensionError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::create_dimension::CreateDimensionError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::create_dimension::CreateDimensionError::Unhandled(inner) => Error::Unhandled(inner), } @@ -210,6 +219,7 @@ impl From<::aws_smithy_runtime_api::client::result::SdkError for Error { fn from(err: crate::operation::create_experiment::CreateExperimentError) -> Self { match err { + crate::operation::create_experiment::CreateExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::create_experiment::CreateExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::create_experiment::CreateExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -400,6 +410,7 @@ impl From for Error { fn from(err: crate::operation::delete_context::DeleteContextError) -> Self { match err { crate::operation::delete_context::DeleteContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::delete_context::DeleteContextError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::delete_context::DeleteContextError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::delete_context::DeleteContextError::Unhandled(inner) => Error::Unhandled(inner), } @@ -422,6 +433,7 @@ impl From for fn from(err: crate::operation::delete_default_config::DeleteDefaultConfigError) -> Self { match err { crate::operation::delete_default_config::DeleteDefaultConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::delete_default_config::DeleteDefaultConfigError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::delete_default_config::DeleteDefaultConfigError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::delete_default_config::DeleteDefaultConfigError::Unhandled(inner) => Error::Unhandled(inner), } @@ -444,6 +456,7 @@ impl From for Error { fn from(err: crate::operation::delete_dimension::DeleteDimensionError) -> Self { match err { crate::operation::delete_dimension::DeleteDimensionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::delete_dimension::DeleteDimensionError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::delete_dimension::DeleteDimensionError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::delete_dimension::DeleteDimensionError::Unhandled(inner) => Error::Unhandled(inner), } @@ -598,6 +611,7 @@ impl From for Erro fn from(err: crate::operation::discard_experiment::DiscardExperimentError) -> Self { match err { crate::operation::discard_experiment::DiscardExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::discard_experiment::DiscardExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::discard_experiment::DiscardExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::discard_experiment::DiscardExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -684,6 +698,7 @@ impl From Self { match err { crate::operation::get_context_from_condition::GetContextFromConditionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::get_context_from_condition::GetContextFromConditionError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::get_context_from_condition::GetContextFromConditionError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::get_context_from_condition::GetContextFromConditionError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1350,6 +1365,7 @@ impl From for Error { fn from(err: crate::operation::move_context::MoveContextError) -> Self { match err { crate::operation::move_context::MoveContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::move_context::MoveContextError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::move_context::MoveContextError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::move_context::MoveContextError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1372,6 +1388,7 @@ impl From for Error { fn from(err: crate::operation::pause_experiment::PauseExperimentError) -> Self { match err { crate::operation::pause_experiment::PauseExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::pause_experiment::PauseExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::pause_experiment::PauseExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::pause_experiment::PauseExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1416,6 +1433,7 @@ impl From for Error { fn from(err: crate::operation::ramp_experiment::RampExperimentError) -> Self { match err { crate::operation::ramp_experiment::RampExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::ramp_experiment::RampExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::ramp_experiment::RampExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::ramp_experiment::RampExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1460,6 +1478,7 @@ impl From for Error fn from(err: crate::operation::resume_experiment::ResumeExperimentError) -> Self { match err { crate::operation::resume_experiment::ResumeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::resume_experiment::ResumeExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::resume_experiment::ResumeExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::resume_experiment::ResumeExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1546,6 +1565,7 @@ impl From for fn from(err: crate::operation::update_default_config::UpdateDefaultConfigError) -> Self { match err { crate::operation::update_default_config::UpdateDefaultConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::update_default_config::UpdateDefaultConfigError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::update_default_config::UpdateDefaultConfigError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::update_default_config::UpdateDefaultConfigError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1568,6 +1588,7 @@ impl From for Error { fn from(err: crate::operation::update_dimension::UpdateDimensionError) -> Self { match err { crate::operation::update_dimension::UpdateDimensionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::update_dimension::UpdateDimensionError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::update_dimension::UpdateDimensionError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::update_dimension::UpdateDimensionError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1656,6 +1677,7 @@ impl From for Error { fn from(err: crate::operation::update_override::UpdateOverrideError) -> Self { match err { crate::operation::update_override::UpdateOverrideError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::update_override::UpdateOverrideError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::update_override::UpdateOverrideError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::update_override::UpdateOverrideError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1678,6 +1700,7 @@ impl From Self { match err { crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner), + crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1830,6 +1853,7 @@ impl From<::aws_smithy_runtime_api::client::result::SdkError for Error { fn from(err: crate::operation::weight_recompute::WeightRecomputeError) -> Self { match err { + crate::operation::weight_recompute::WeightRecomputeError::WebhookFailed(inner) => Error::WebhookFailed(inner), crate::operation::weight_recompute::WeightRecomputeError::InternalServerError(inner) => Error::InternalServerError(inner), crate::operation::weight_recompute::WeightRecomputeError::Unhandled(inner) => Error::Unhandled(inner), } @@ -1840,6 +1864,7 @@ impl ::std::error::Error for Error { match self { Error::InternalServerError(inner) => inner.source(), Error::ResourceNotFound(inner) => inner.source(), + Error::WebhookFailed(inner) => inner.source(), Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source) } } diff --git a/crates/superposition_sdk/src/operation/bulk_operation.rs b/crates/superposition_sdk/src/operation/bulk_operation.rs index d2f37d4ab..5f2564e2c 100644 --- a/crates/superposition_sdk/src/operation/bulk_operation.rs +++ b/crates/superposition_sdk/src/operation/bulk_operation.rs @@ -195,6 +195,8 @@ builder pub enum BulkOperationError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -223,6 +225,7 @@ impl BulkOperationError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -231,6 +234,10 @@ impl BulkOperationError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `BulkOperationError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `BulkOperationError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -242,6 +249,9 @@ impl ::std::error::Error for BulkOperationError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -257,6 +267,9 @@ impl ::std::fmt::Display for BulkOperationError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -284,6 +297,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for BulkOperation Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/conclude_experiment.rs b/crates/superposition_sdk/src/operation/conclude_experiment.rs index 806ef49b0..c2250ddb0 100644 --- a/crates/superposition_sdk/src/operation/conclude_experiment.rs +++ b/crates/superposition_sdk/src/operation/conclude_experiment.rs @@ -201,6 +201,8 @@ builder pub enum ConcludeExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl ConcludeExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl ConcludeExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `ConcludeExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `ConcludeExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for ConcludeExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for ConcludeExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for ConcludeExper Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/create_context.rs b/crates/superposition_sdk/src/operation/create_context.rs index cff50d5b6..58a413290 100644 --- a/crates/superposition_sdk/src/operation/create_context.rs +++ b/crates/superposition_sdk/src/operation/create_context.rs @@ -195,6 +195,8 @@ builder pub enum CreateContextError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -223,6 +225,7 @@ impl CreateContextError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -231,6 +234,10 @@ impl CreateContextError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `CreateContextError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `CreateContextError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -242,6 +249,9 @@ impl ::std::error::Error for CreateContextError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -257,6 +267,9 @@ impl ::std::fmt::Display for CreateContextError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -284,6 +297,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateContext Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/create_default_config.rs b/crates/superposition_sdk/src/operation/create_default_config.rs index dbc0ce5df..e66ddc49b 100644 --- a/crates/superposition_sdk/src/operation/create_default_config.rs +++ b/crates/superposition_sdk/src/operation/create_default_config.rs @@ -193,6 +193,8 @@ builder #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum CreateDefaultConfigError { + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -220,10 +222,15 @@ impl CreateDefaultConfigError { /// pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } } + /// Returns `true` if the error kind is `CreateDefaultConfigError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `CreateDefaultConfigError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -232,6 +239,9 @@ impl CreateDefaultConfigError { impl ::std::error::Error for CreateDefaultConfigError { fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { match self { + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -244,6 +254,9 @@ impl ::std::error::Error for CreateDefaultConfigError { impl ::std::fmt::Display for CreateDefaultConfigError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match self { + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -268,6 +281,9 @@ impl ::aws_smithy_types::retry::ProvideErrorKind for CreateDefaultConfigError { impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateDefaultConfigError { fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/create_dimension.rs b/crates/superposition_sdk/src/operation/create_dimension.rs index 072b7c051..d4b96cbbc 100644 --- a/crates/superposition_sdk/src/operation/create_dimension.rs +++ b/crates/superposition_sdk/src/operation/create_dimension.rs @@ -193,6 +193,8 @@ builder #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum CreateDimensionError { + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -220,10 +222,15 @@ impl CreateDimensionError { /// pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } } + /// Returns `true` if the error kind is `CreateDimensionError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `CreateDimensionError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -232,6 +239,9 @@ impl CreateDimensionError { impl ::std::error::Error for CreateDimensionError { fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { match self { + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -244,6 +254,9 @@ impl ::std::error::Error for CreateDimensionError { impl ::std::fmt::Display for CreateDimensionError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match self { + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -268,6 +281,9 @@ impl ::aws_smithy_types::retry::ProvideErrorKind for CreateDimensionError { impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateDimensionError { fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/create_experiment.rs b/crates/superposition_sdk/src/operation/create_experiment.rs index 92c6bb8e1..c1aa041b1 100644 --- a/crates/superposition_sdk/src/operation/create_experiment.rs +++ b/crates/superposition_sdk/src/operation/create_experiment.rs @@ -193,6 +193,8 @@ builder #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum CreateExperimentError { + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -220,10 +222,15 @@ impl CreateExperimentError { /// pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } } + /// Returns `true` if the error kind is `CreateExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `CreateExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -232,6 +239,9 @@ impl CreateExperimentError { impl ::std::error::Error for CreateExperimentError { fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { match self { + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -244,6 +254,9 @@ impl ::std::error::Error for CreateExperimentError { impl ::std::fmt::Display for CreateExperimentError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match self { + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -268,6 +281,9 @@ impl ::aws_smithy_types::retry::ProvideErrorKind for CreateExperimentError { impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateExperimentError { fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/delete_context.rs b/crates/superposition_sdk/src/operation/delete_context.rs index b26b2f77d..e2ec30b5f 100644 --- a/crates/superposition_sdk/src/operation/delete_context.rs +++ b/crates/superposition_sdk/src/operation/delete_context.rs @@ -197,6 +197,8 @@ builder pub enum DeleteContextError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -225,6 +227,7 @@ impl DeleteContextError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -233,6 +236,10 @@ impl DeleteContextError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `DeleteContextError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `DeleteContextError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -244,6 +251,9 @@ impl ::std::error::Error for DeleteContextError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -259,6 +269,9 @@ impl ::std::fmt::Display for DeleteContextError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -286,6 +299,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DeleteContext Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/delete_default_config.rs b/crates/superposition_sdk/src/operation/delete_default_config.rs index 35ab62ea7..94f7f2bc0 100644 --- a/crates/superposition_sdk/src/operation/delete_default_config.rs +++ b/crates/superposition_sdk/src/operation/delete_default_config.rs @@ -197,6 +197,8 @@ builder pub enum DeleteDefaultConfigError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -225,6 +227,7 @@ impl DeleteDefaultConfigError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -233,6 +236,10 @@ impl DeleteDefaultConfigError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `DeleteDefaultConfigError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `DeleteDefaultConfigError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -244,6 +251,9 @@ impl ::std::error::Error for DeleteDefaultConfigError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -259,6 +269,9 @@ impl ::std::fmt::Display for DeleteDefaultConfigError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -286,6 +299,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DeleteDefault Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/delete_dimension.rs b/crates/superposition_sdk/src/operation/delete_dimension.rs index 154e03dda..e116c14cd 100644 --- a/crates/superposition_sdk/src/operation/delete_dimension.rs +++ b/crates/superposition_sdk/src/operation/delete_dimension.rs @@ -197,6 +197,8 @@ builder pub enum DeleteDimensionError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -225,6 +227,7 @@ impl DeleteDimensionError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -233,6 +236,10 @@ impl DeleteDimensionError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `DeleteDimensionError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `DeleteDimensionError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -244,6 +251,9 @@ impl ::std::error::Error for DeleteDimensionError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -259,6 +269,9 @@ impl ::std::fmt::Display for DeleteDimensionError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -286,6 +299,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DeleteDimensi Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/discard_experiment.rs b/crates/superposition_sdk/src/operation/discard_experiment.rs index 89d753eb9..7853bf57d 100644 --- a/crates/superposition_sdk/src/operation/discard_experiment.rs +++ b/crates/superposition_sdk/src/operation/discard_experiment.rs @@ -201,6 +201,8 @@ builder pub enum DiscardExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl DiscardExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl DiscardExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `DiscardExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `DiscardExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for DiscardExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for DiscardExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DiscardExperi Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/get_context_from_condition.rs b/crates/superposition_sdk/src/operation/get_context_from_condition.rs index ff1f47e3b..c91e12af1 100644 --- a/crates/superposition_sdk/src/operation/get_context_from_condition.rs +++ b/crates/superposition_sdk/src/operation/get_context_from_condition.rs @@ -195,6 +195,8 @@ builder pub enum GetContextFromConditionError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -223,6 +225,7 @@ impl GetContextFromConditionError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -231,6 +234,10 @@ impl GetContextFromConditionError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `GetContextFromConditionError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `GetContextFromConditionError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -242,6 +249,9 @@ impl ::std::error::Error for GetContextFromConditionError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -257,6 +267,9 @@ impl ::std::fmt::Display for GetContextFromConditionError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -284,6 +297,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for GetContextFro Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/move_context.rs b/crates/superposition_sdk/src/operation/move_context.rs index 0bb9be211..ef13d0a6b 100644 --- a/crates/superposition_sdk/src/operation/move_context.rs +++ b/crates/superposition_sdk/src/operation/move_context.rs @@ -201,6 +201,8 @@ builder pub enum MoveContextError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl MoveContextError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl MoveContextError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `MoveContextError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `MoveContextError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for MoveContextError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for MoveContextError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for MoveContextEr Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/pause_experiment.rs b/crates/superposition_sdk/src/operation/pause_experiment.rs index ebd9900f3..b3bdef20a 100644 --- a/crates/superposition_sdk/src/operation/pause_experiment.rs +++ b/crates/superposition_sdk/src/operation/pause_experiment.rs @@ -201,6 +201,8 @@ builder pub enum PauseExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl PauseExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl PauseExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `PauseExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `PauseExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for PauseExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for PauseExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for PauseExperime Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/ramp_experiment.rs b/crates/superposition_sdk/src/operation/ramp_experiment.rs index 0c19842e6..ba73610df 100644 --- a/crates/superposition_sdk/src/operation/ramp_experiment.rs +++ b/crates/superposition_sdk/src/operation/ramp_experiment.rs @@ -201,6 +201,8 @@ builder pub enum RampExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl RampExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl RampExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `RampExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `RampExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for RampExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for RampExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for RampExperimen Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/resume_experiment.rs b/crates/superposition_sdk/src/operation/resume_experiment.rs index f73d95a33..7030946bc 100644 --- a/crates/superposition_sdk/src/operation/resume_experiment.rs +++ b/crates/superposition_sdk/src/operation/resume_experiment.rs @@ -201,6 +201,8 @@ builder pub enum ResumeExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl ResumeExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl ResumeExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `ResumeExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `ResumeExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for ResumeExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for ResumeExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for ResumeExperim Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/update_default_config.rs b/crates/superposition_sdk/src/operation/update_default_config.rs index fb7861f83..fc80a8416 100644 --- a/crates/superposition_sdk/src/operation/update_default_config.rs +++ b/crates/superposition_sdk/src/operation/update_default_config.rs @@ -201,6 +201,8 @@ builder pub enum UpdateDefaultConfigError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl UpdateDefaultConfigError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl UpdateDefaultConfigError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `UpdateDefaultConfigError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `UpdateDefaultConfigError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for UpdateDefaultConfigError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for UpdateDefaultConfigError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateDefault Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/update_dimension.rs b/crates/superposition_sdk/src/operation/update_dimension.rs index f6004e70f..4b44da033 100644 --- a/crates/superposition_sdk/src/operation/update_dimension.rs +++ b/crates/superposition_sdk/src/operation/update_dimension.rs @@ -201,6 +201,8 @@ builder pub enum UpdateDimensionError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl UpdateDimensionError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl UpdateDimensionError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `UpdateDimensionError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `UpdateDimensionError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for UpdateDimensionError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for UpdateDimensionError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateDimensi Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/update_override.rs b/crates/superposition_sdk/src/operation/update_override.rs index 6b25cb536..38bda03bc 100644 --- a/crates/superposition_sdk/src/operation/update_override.rs +++ b/crates/superposition_sdk/src/operation/update_override.rs @@ -195,6 +195,8 @@ builder pub enum UpdateOverrideError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -223,6 +225,7 @@ impl UpdateOverrideError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -231,6 +234,10 @@ impl UpdateOverrideError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `UpdateOverrideError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `UpdateOverrideError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -242,6 +249,9 @@ impl ::std::error::Error for UpdateOverrideError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -257,6 +267,9 @@ impl ::std::fmt::Display for UpdateOverrideError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -284,6 +297,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateOverrid Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/update_overrides_experiment.rs b/crates/superposition_sdk/src/operation/update_overrides_experiment.rs index b061710f4..3ddbcdd30 100644 --- a/crates/superposition_sdk/src/operation/update_overrides_experiment.rs +++ b/crates/superposition_sdk/src/operation/update_overrides_experiment.rs @@ -201,6 +201,8 @@ builder pub enum UpdateOverridesExperimentError { #[allow(missing_docs)] // documentation missing in model ResourceNotFound(crate::types::error::ResourceNotFound), + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -229,6 +231,7 @@ impl UpdateOverridesExperimentError { pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { Self::ResourceNotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } @@ -237,6 +240,10 @@ impl UpdateOverridesExperimentError { pub fn is_resource_not_found(&self) -> bool { matches!(self, Self::ResourceNotFound(_)) } + /// Returns `true` if the error kind is `UpdateOverridesExperimentError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `UpdateOverridesExperimentError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -248,6 +255,9 @@ impl ::std::error::Error for UpdateOverridesExperimentError { Self::ResourceNotFound(_inner) => ::std::option::Option::Some(_inner) , + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -263,6 +273,9 @@ impl ::std::fmt::Display for UpdateOverridesExperimentError { Self::ResourceNotFound(_inner) => _inner.fmt(f) , + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -290,6 +303,9 @@ impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateOverrid Self::ResourceNotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/operation/weight_recompute.rs b/crates/superposition_sdk/src/operation/weight_recompute.rs index 8ec1a7bc1..913b2c9a3 100644 --- a/crates/superposition_sdk/src/operation/weight_recompute.rs +++ b/crates/superposition_sdk/src/operation/weight_recompute.rs @@ -189,6 +189,8 @@ builder #[non_exhaustive] #[derive(::std::fmt::Debug)] pub enum WeightRecomputeError { + /// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. + WebhookFailed(crate::types::error::WebhookFailed), #[allow(missing_docs)] // documentation missing in model InternalServerError(crate::types::error::InternalServerError), /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code). @@ -216,10 +218,15 @@ impl WeightRecomputeError { /// pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e), Self::Unhandled(e) => &e.meta, } } + /// Returns `true` if the error kind is `WeightRecomputeError::WebhookFailed`. + pub fn is_webhook_failed(&self) -> bool { + matches!(self, Self::WebhookFailed(_)) + } /// Returns `true` if the error kind is `WeightRecomputeError::InternalServerError`. pub fn is_internal_server_error(&self) -> bool { matches!(self, Self::InternalServerError(_)) @@ -228,6 +235,9 @@ impl WeightRecomputeError { impl ::std::error::Error for WeightRecomputeError { fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> { match self { + Self::WebhookFailed(_inner) => + ::std::option::Option::Some(_inner) + , Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner) , @@ -240,6 +250,9 @@ impl ::std::error::Error for WeightRecomputeError { impl ::std::fmt::Display for WeightRecomputeError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match self { + Self::WebhookFailed(_inner) => + _inner.fmt(f) + , Self::InternalServerError(_inner) => _inner.fmt(f) , @@ -264,6 +277,9 @@ impl ::aws_smithy_types::retry::ProvideErrorKind for WeightRecomputeError { impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for WeightRecomputeError { fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { match self { + Self::WebhookFailed(_inner) => + ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) + , Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner) , diff --git a/crates/superposition_sdk/src/protocol_serde.rs b/crates/superposition_sdk/src/protocol_serde.rs index 1084ba985..030f196fa 100644 --- a/crates/superposition_sdk/src/protocol_serde.rs +++ b/crates/superposition_sdk/src/protocol_serde.rs @@ -293,6 +293,8 @@ pub(crate) mod shape_update_workspace_input; pub(crate) mod shape_validate_context_input; +pub(crate) mod shape_webhook_failed; + pub(crate) mod shape_audit_log_list; pub(crate) mod shape_buckets; diff --git a/crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs b/crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs index 2e6ed7526..c7009410b 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs @@ -27,6 +27,22 @@ pub fn de_bulk_operation_http_error(_response_status: u16, _response_headers: &: } tmp }), + "WebhookFailed" => crate::operation::bulk_operation::BulkOperationError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::bulk_operation::BulkOperationError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::bulk_operation::BulkOperationError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_conclude_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_conclude_experiment.rs index 6d5b186cf..876404d60 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_conclude_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_conclude_experiment.rs @@ -27,6 +27,22 @@ pub fn de_conclude_experiment_http_error(_response_status: u16, _response_header } tmp }), + "WebhookFailed" => crate::operation::conclude_experiment::ConcludeExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::conclude_experiment::ConcludeExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::conclude_experiment::ConcludeExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_create_context.rs b/crates/superposition_sdk/src/protocol_serde/shape_create_context.rs index 963f78703..f08a934f0 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_create_context.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_create_context.rs @@ -27,6 +27,22 @@ pub fn de_create_context_http_error(_response_status: u16, _response_headers: &: } tmp }), + "WebhookFailed" => crate::operation::create_context::CreateContextError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::create_context::CreateContextError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::create_context::CreateContextError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_create_default_config.rs b/crates/superposition_sdk/src/protocol_serde/shape_create_default_config.rs index a968f70a3..578d87b1a 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_create_default_config.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_create_default_config.rs @@ -11,6 +11,22 @@ pub fn de_create_default_config_http_error(_response_status: u16, _response_head let _error_message = generic.message().map(|msg|msg.to_owned()); Err(match error_code { + "WebhookFailed" => crate::operation::create_default_config::CreateDefaultConfigError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::create_default_config::CreateDefaultConfigError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::create_default_config::CreateDefaultConfigError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs b/crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs index b5ba4128c..76db4837e 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs @@ -11,6 +11,22 @@ pub fn de_create_dimension_http_error(_response_status: u16, _response_headers: let _error_message = generic.message().map(|msg|msg.to_owned()); Err(match error_code { + "WebhookFailed" => crate::operation::create_dimension::CreateDimensionError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::create_dimension::CreateDimensionError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::create_dimension::CreateDimensionError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_create_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_create_experiment.rs index aaccdf1bf..8d243f7f1 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_create_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_create_experiment.rs @@ -11,6 +11,22 @@ pub fn de_create_experiment_http_error(_response_status: u16, _response_headers: let _error_message = generic.message().map(|msg|msg.to_owned()); Err(match error_code { + "WebhookFailed" => crate::operation::create_experiment::CreateExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::create_experiment::CreateExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::create_experiment::CreateExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs b/crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs index db5345504..2bf97eb50 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs @@ -27,6 +27,22 @@ pub fn de_delete_context_http_error(_response_status: u16, _response_headers: &: } tmp }), + "WebhookFailed" => crate::operation::delete_context::DeleteContextError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::delete_context::DeleteContextError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::delete_context::DeleteContextError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_delete_default_config.rs b/crates/superposition_sdk/src/protocol_serde/shape_delete_default_config.rs index f4f21f8c1..6b726f82f 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_delete_default_config.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_delete_default_config.rs @@ -27,6 +27,22 @@ pub fn de_delete_default_config_http_error(_response_status: u16, _response_head } tmp }), + "WebhookFailed" => crate::operation::delete_default_config::DeleteDefaultConfigError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::delete_default_config::DeleteDefaultConfigError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::delete_default_config::DeleteDefaultConfigError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs b/crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs index 6afce06b9..e52e96c2a 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs @@ -27,6 +27,22 @@ pub fn de_delete_dimension_http_error(_response_status: u16, _response_headers: } tmp }), + "WebhookFailed" => crate::operation::delete_dimension::DeleteDimensionError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::delete_dimension::DeleteDimensionError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::delete_dimension::DeleteDimensionError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_discard_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_discard_experiment.rs index b97ad27f6..9f26be62d 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_discard_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_discard_experiment.rs @@ -27,6 +27,22 @@ pub fn de_discard_experiment_http_error(_response_status: u16, _response_headers } tmp }), + "WebhookFailed" => crate::operation::discard_experiment::DiscardExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::discard_experiment::DiscardExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::discard_experiment::DiscardExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_get_context_from_condition.rs b/crates/superposition_sdk/src/protocol_serde/shape_get_context_from_condition.rs index 066162028..74d49507e 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_get_context_from_condition.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_get_context_from_condition.rs @@ -27,6 +27,22 @@ pub fn de_get_context_from_condition_http_error(_response_status: u16, _response } tmp }), + "WebhookFailed" => crate::operation::get_context_from_condition::GetContextFromConditionError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::get_context_from_condition::GetContextFromConditionError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::get_context_from_condition::GetContextFromConditionError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_move_context.rs b/crates/superposition_sdk/src/protocol_serde/shape_move_context.rs index 1281d45b6..3bd03902a 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_move_context.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_move_context.rs @@ -27,6 +27,22 @@ pub fn de_move_context_http_error(_response_status: u16, _response_headers: &::a } tmp }), + "WebhookFailed" => crate::operation::move_context::MoveContextError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::move_context::MoveContextError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::move_context::MoveContextError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_pause_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_pause_experiment.rs index 60cd91024..a82c3c572 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_pause_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_pause_experiment.rs @@ -27,6 +27,22 @@ pub fn de_pause_experiment_http_error(_response_status: u16, _response_headers: } tmp }), + "WebhookFailed" => crate::operation::pause_experiment::PauseExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::pause_experiment::PauseExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::pause_experiment::PauseExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_ramp_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_ramp_experiment.rs index 837a606e6..d4de3f9f9 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_ramp_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_ramp_experiment.rs @@ -27,6 +27,22 @@ pub fn de_ramp_experiment_http_error(_response_status: u16, _response_headers: & } tmp }), + "WebhookFailed" => crate::operation::ramp_experiment::RampExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::ramp_experiment::RampExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::ramp_experiment::RampExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_resume_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_resume_experiment.rs index 7ecb2690b..ad6eaeabe 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_resume_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_resume_experiment.rs @@ -27,6 +27,22 @@ pub fn de_resume_experiment_http_error(_response_status: u16, _response_headers: } tmp }), + "WebhookFailed" => crate::operation::resume_experiment::ResumeExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::resume_experiment::ResumeExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::resume_experiment::ResumeExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_update_default_config.rs b/crates/superposition_sdk/src/protocol_serde/shape_update_default_config.rs index 57a34af2f..c360709cb 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_update_default_config.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_update_default_config.rs @@ -27,6 +27,22 @@ pub fn de_update_default_config_http_error(_response_status: u16, _response_head } tmp }), + "WebhookFailed" => crate::operation::update_default_config::UpdateDefaultConfigError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::update_default_config::UpdateDefaultConfigError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::update_default_config::UpdateDefaultConfigError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs b/crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs index a4993774b..26e356349 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs @@ -27,6 +27,22 @@ pub fn de_update_dimension_http_error(_response_status: u16, _response_headers: } tmp }), + "WebhookFailed" => crate::operation::update_dimension::UpdateDimensionError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::update_dimension::UpdateDimensionError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::update_dimension::UpdateDimensionError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_update_override.rs b/crates/superposition_sdk/src/protocol_serde/shape_update_override.rs index 1377394e1..82308adc9 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_update_override.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_update_override.rs @@ -27,6 +27,22 @@ pub fn de_update_override_http_error(_response_status: u16, _response_headers: & } tmp }), + "WebhookFailed" => crate::operation::update_override::UpdateOverrideError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::update_override::UpdateOverrideError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::update_override::UpdateOverrideError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_update_overrides_experiment.rs b/crates/superposition_sdk/src/protocol_serde/shape_update_overrides_experiment.rs index 75253f953..2d6d7723c 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_update_overrides_experiment.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_update_overrides_experiment.rs @@ -27,6 +27,22 @@ pub fn de_update_overrides_experiment_http_error(_response_status: u16, _respons } tmp }), + "WebhookFailed" => crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::update_overrides_experiment::UpdateOverridesExperimentError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/protocol_serde/shape_webhook_failed.rs b/crates/superposition_sdk/src/protocol_serde/shape_webhook_failed.rs new file mode 100644 index 000000000..6010ad031 --- /dev/null +++ b/crates/superposition_sdk/src/protocol_serde/shape_webhook_failed.rs @@ -0,0 +1,36 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub(crate) fn de_webhook_failed_json_err(value: &[u8], mut builder: crate::types::error::builders::WebhookFailedBuilder) -> ::std::result::Result { + let mut tokens_owned = ::aws_smithy_json::deserialize::json_token_iter(crate::protocol_serde::or_empty_doc(value)).peekable(); + let tokens = &mut tokens_owned; + ::aws_smithy_json::deserialize::token::expect_start_object(tokens.next())?; + loop { + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::EndObject { .. }) => break, + Some(::aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => { + match key.to_unescaped()?.as_ref() { + "data" => { + builder = builder.set_data( + Some(::aws_smithy_json::deserialize::token::expect_document(tokens)?) + ); + } + "Message" => { + builder = builder.set_message( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?.map(|s| + s.to_unescaped().map(|u| + u.into_owned() + ) + ).transpose()? + ); + } + _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)? + } + } + other => return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(format!("expected object key or end object, found: {:?}", other))) + } + } + if tokens.next().is_some() { + return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom("found more JSON tokens after completing parsing")); + } + Ok(builder) +} + diff --git a/crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs b/crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs index bc6bdadda..84afec7b5 100644 --- a/crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs +++ b/crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs @@ -11,6 +11,22 @@ pub fn de_weight_recompute_http_error(_response_status: u16, _response_headers: let _error_message = generic.message().map(|msg|msg.to_owned()); Err(match error_code { + "WebhookFailed" => crate::operation::weight_recompute::WeightRecomputeError::WebhookFailed({ + #[allow(unused_mut)] + let mut tmp = + { + #[allow(unused_mut)] + let mut output = crate::types::error::builders::WebhookFailedBuilder::default(); + output = crate::protocol_serde::shape_webhook_failed::de_webhook_failed_json_err(_response_body, output).map_err(crate::operation::weight_recompute::WeightRecomputeError::unhandled)?; + let output = output.meta(generic); + output.build() + } + ; + if tmp.message.is_none() { + tmp.message = _error_message; + } + tmp + }), "InternalServerError" => crate::operation::weight_recompute::WeightRecomputeError::InternalServerError({ #[allow(unused_mut)] let mut tmp = diff --git a/crates/superposition_sdk/src/types/error.rs b/crates/superposition_sdk/src/types/error.rs index 72b32d8e1..1927b09bc 100644 --- a/crates/superposition_sdk/src/types/error.rs +++ b/crates/superposition_sdk/src/types/error.rs @@ -3,10 +3,14 @@ pub use crate::types::error::_internal_server_error::InternalServerError; pub use crate::types::error::_resource_not_found::ResourceNotFound; +pub use crate::types::error::_webhook_failed::WebhookFailed; + mod _internal_server_error; mod _resource_not_found; +mod _webhook_failed; + /// Builders pub mod builders; diff --git a/crates/superposition_sdk/src/types/error/_webhook_failed.rs b/crates/superposition_sdk/src/types/error/_webhook_failed.rs new file mode 100644 index 000000000..686c362de --- /dev/null +++ b/crates/superposition_sdk/src/types/error/_webhook_failed.rs @@ -0,0 +1,102 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete. +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct WebhookFailed { + /// The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + pub data: ::std::option::Option<::aws_smithy_types::Document>, + #[allow(missing_docs)] // documentation missing in model + pub message: ::std::option::Option<::std::string::String>, + pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata, +} +impl WebhookFailed { + /// The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + pub fn data(&self) -> ::std::option::Option<&::aws_smithy_types::Document> { + self.data.as_ref() + } +} +impl WebhookFailed { + /// Returns the error message. + pub fn message(&self) -> ::std::option::Option<&str> { self.message.as_deref() } +} +impl ::std::fmt::Display for WebhookFailed { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::std::write!(f, "WebhookFailed")?; + if let ::std::option::Option::Some(inner_1) = &self.message { + { + ::std::write!(f, ": {}", inner_1)?; + } + } + Ok(()) + } +} +impl ::std::error::Error for WebhookFailed {} +impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for WebhookFailed { + fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata { &self.meta } +} +impl WebhookFailed { + /// Creates a new builder-style object to manufacture [`WebhookFailed`](crate::types::error::WebhookFailed). + pub fn builder() -> crate::types::error::builders::WebhookFailedBuilder { + crate::types::error::builders::WebhookFailedBuilder::default() + } +} + +/// A builder for [`WebhookFailed`](crate::types::error::WebhookFailed). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct WebhookFailedBuilder { + pub(crate) data: ::std::option::Option<::aws_smithy_types::Document>, + pub(crate) message: ::std::option::Option<::std::string::String>, + meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>, +} +impl WebhookFailedBuilder { + /// The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + pub fn data(mut self, input: ::aws_smithy_types::Document) -> Self { + self.data = ::std::option::Option::Some(input); + self + } + /// The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + pub fn set_data(mut self, input: ::std::option::Option<::aws_smithy_types::Document>) -> Self { + self.data = input; self + } + /// The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type. + pub fn get_data(&self) -> &::std::option::Option<::aws_smithy_types::Document> { + &self.data + } + #[allow(missing_docs)] // documentation missing in model + pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.message = ::std::option::Option::Some(input.into()); + self + } + #[allow(missing_docs)] // documentation missing in model + pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.message = input; self + } + #[allow(missing_docs)] // documentation missing in model + pub fn get_message(&self) -> &::std::option::Option<::std::string::String> { + &self.message + } + /// Sets error metadata + pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self { + self.meta = Some(meta); + self + } + + /// Sets error metadata + pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self { + self.meta = meta; + self + } + /// Consumes the builder and constructs a [`WebhookFailed`](crate::types::error::WebhookFailed). + pub fn build(self) -> crate::types::error::WebhookFailed { + crate::types::error::WebhookFailed { + data: self.data + , + message: self.message + , + meta: self.meta.unwrap_or_default(), + } + } +} + diff --git a/crates/superposition_sdk/src/types/error/builders.rs b/crates/superposition_sdk/src/types/error/builders.rs index f1035c145..98f8da3bb 100644 --- a/crates/superposition_sdk/src/types/error/builders.rs +++ b/crates/superposition_sdk/src/types/error/builders.rs @@ -3,3 +3,5 @@ pub use crate::types::error::_internal_server_error::InternalServerErrorBuilder; pub use crate::types::error::_resource_not_found::ResourceNotFoundBuilder; +pub use crate::types::error::_webhook_failed::WebhookFailedBuilder; + diff --git a/docs/docs/api/Superposition.openapi.json b/docs/docs/api/Superposition.openapi.json index 7c8f7e163..5b9ff5e24 100644 --- a/docs/docs/api/Superposition.openapi.json +++ b/docs/docs/api/Superposition.openapi.json @@ -693,6 +693,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -762,6 +772,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -823,6 +843,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -893,6 +923,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -962,6 +1002,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1070,6 +1120,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1130,6 +1190,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1328,6 +1398,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1381,6 +1461,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1507,6 +1597,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1640,6 +1740,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1693,6 +1803,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -1819,6 +1939,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -2569,6 +2699,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -2758,6 +2898,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -2828,6 +2978,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -2898,6 +3058,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -2968,6 +3138,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -3038,6 +3218,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -3108,6 +3298,16 @@ } } } + }, + "512": { + "description": "WebhookFailed 512 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookFailedResponseContent" + } + } + } } }, "tags": [ @@ -11535,6 +11735,15 @@ "V1" ] }, + "WebhookFailedResponseContent": { + "type": "object", + "description": "Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete.", + "properties": { + "data": { + "description": "The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type." + } + } + }, "WebhookResponse": { "type": "object", "properties": { diff --git a/docs/docs/api/bulk-operation.api.mdx b/docs/docs/api/bulk-operation.api.mdx index 33233f1fd..82a199f8b 100644 --- a/docs/docs/api/bulk-operation.api.mdx +++ b/docs/docs/api/bulk-operation.api.mdx @@ -5,7 +5,7 @@ description: "Executes multiple context operations (PUT, REPLACE, DELETE, MOVE) sidebar_label: "BulkOperation" hide_title: true hide_table_of_contents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+v31l4kFvIkYUsn2ITNcKOUjC1ktHGFhItMOxxHReulTQgKK+yoIhcm7rFUx9ImETUCvvaFEkUpWWWSbvG9ethlIlpABmmeYBGb9PxCdbVvyllbjlpFL1HB0UkR88+oBQDtGasy1H4tTMzezGaXdL3k9UVn2xC3wbdD0G3T/aJRTCweyMplBCMvTFqx0fLuUFQQLF3mYVoVicfe8wxjLiUITDHsQrGkp2RKOboYNDH+86yo4s8WmHnjxq3jKNAQWmoH7p5Kp6jVZsJzMYmNyV9yLcJzSyTmboTp7gN6RlUA1zW1DxRq3vi7aVZxSOu9KHS2ddCMIzg93ITlu7iLZMJc0D5l/h7JvoSNA9/HxwE4X1E2XdXv8tM7TmHXfVefVxd59SV+e3DpDSRVi+n0vtbFbOM43XgdoJGg0ce+mUs53tY064m0yav1ltFS9GuZbjG+ApEtpfNXkQ4fLFo0l1oU7kC1tCd4enJ6Nj75bXxyRvoiiEm5q3HFXTN1GNb8JkVn3qgq5f/hOyBFeLoExbFTuBHXqoQE9Qk8bzysdVMYsy6W5IF5cH+P+QAfVbLd0jJ6RlFeX1PHx/l6QUalRC7v3SlKI6FpA5265ImGPZbaJSmOtQOPDcUZJHCx8+VMnlwVk8NTdohf9TTx/Vk1Hy5a3DxAUaHHM6JRQ/R6cI1xjm0nN3thm8XcvxMsiq8B4ZRHKIqvKQHxt/ONzKuv9Li1exwJs5V180jgSdLPv/nOEwg= sidebar_class_name: "put api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Executes multiple context operations (PUT, REPLACE, DELETE, MOVE) in a single at diff --git a/docs/docs/api/conclude-experiment.api.mdx b/docs/docs/api/conclude-experiment.api.mdx index b60d8065f..247c4d3d2 100644 --- a/docs/docs/api/conclude-experiment.api.mdx +++ b/docs/docs/api/conclude-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Concludes an inprogress experiment by selecting a winning variant sidebar_label: "ConcludeExperiment" hide_title: true hide_table_of_contents: true -api: eJzFWG1v2zYQ/iuE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BpVMXwWGsbU6+57B/WWTUine+1oU2u5WYc7HC+qHj5DiDJGdEtPB/27C1mLPtLdiyDLRZdp1H96PSfOfVd16OxHiltk9XxzqRqjAuZzFPredEZ4xwVzFL3gCZsxTPOKTs9OT07Ovnl6OSM5MBiltxe9+I5VSIua72ad2ZohRz/52O/qBINtWOsP9Iul8U8dZ380BhhNHbO7fyqmhn9hwoY4tts0BniXsXbLR2jWoo6/LGYSjNKKvo9lJq+cWfmPNbihbz8OCpG8U/skKvl7pus7fDDjoXf8Ilh6R7aW9yh8i377tadlcZLvPKALu53MdV8p7esOYYCuI4mbtcoOfZGUy0xABpn5kXeJszdDSbDT+CeFX/7wc5CQoqv6O9C+GnTn9ogLRTZsw0WnGSR20HtOaX0728b8KkC sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Concludes an inprogress experiment by selecting a winning variant and transition diff --git a/docs/docs/api/create-context.api.mdx b/docs/docs/api/create-context.api.mdx index cb6f68a4d..383a20718 100644 --- a/docs/docs/api/create-context.api.mdx +++ b/docs/docs/api/create-context.api.mdx @@ -5,7 +5,7 @@ description: "Creates a new context with specified conditions and overrides. Con sidebar_label: "CreateContext" hide_title: true hide_table_of_contents: true -api: eJztV01v2zgQ/SuETrtA7Bhpc+mtNbpoUbRrJOkpMAJaGltsJFFLUnUMw/9935D6tJU0RbZYYLE5JA45M3zzZvg43kcJ2dio0ildRG+iuSHpyAopCtqKWBeOHpzYKpcKW1Ks1ooSXk4UO8CuSIT+TsYoxJmKeXCwIqG1KqizlJkwVYbAa214da02IpeF3FBOhZtGZ5EuyUg2/Zi0OOpw2DX0V0XWvdPJLnqzjzywwvFHWZaZir3n+TfLSewjG6eUS/7kdiUhnF59o5jjlIbPcYpsG+bBjRnKpAG+6Lsczo4Iu6LSkAUWO0gWFo6MkqKyIKxO2nOZSxenqthMxSfatUQlCjxY+IpC5hR4/S4z5FzzvhMupS6sSyVCVdaJFYmcPINOuYxzmDc4IqBtiv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A9xdC5GRPWJAUUu7+AFEe85b0p4H6b6D/P5OV+60V8E26fYpnhRkR1S95MFTJQ1jvKuYm8RhekgNwbRHcsKluURB6Xd3Pl/tA8BLjHcD7nmNwAOYB6ky/HPcTd1WUo9N+YwPtk1vNhOZaWmuXPVW2lV+sazytU1zzP7+4RImFbgurN2yakVyX7cZpt3vH6QdYHLIC0kxOFPHeBmaGLNBe9zpT+B7DnHBPGnzgkCITZcPRfdA+rdveQ0Gz6AhsPCwRDQtvW9+6Z3KahyqQP0OhMuPdKm0lbVyGDdRmMns5PTyey3yeyU9SDi8BRk1Xr4jM21eUzu+997/X3H52odIFY/xgikwrjlTcH4Yspetewiy3I4yUu7HeJPn0zx8MDLiInhPL7muwaT3YKZ48Rtpm1O8UxZ3kBJLGVh6Qk6HsOFgWrkiVFPv0nCdfL8Q36+qG/nX8SXzmsfJN/+qP5zZXBaFKg70GTONjqJgzum03iDtlq5J2X7zer80xyyi/r7CcwXrGLkhr+7wO8QGx1cDC0mrO0wjJQrH+7bJJrkn38BchM89g== sidebar_class_name: "put api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Creates a new context with specified conditions and overrides. Contexts define c diff --git a/docs/docs/api/create-default-config.api.mdx b/docs/docs/api/create-default-config.api.mdx index 92831116f..71a753f06 100644 --- a/docs/docs/api/create-default-config.api.mdx +++ b/docs/docs/api/create-default-config.api.mdx @@ -5,7 +5,7 @@ description: "Creates a new default config entry with specified key, value, sche sidebar_label: "CreateDefaultConfig" hide_title: true hide_table_of_contents: true -api: eJztV01v2zgQ/SsET13ATowUueSWZovdnBok6SkwjDE1tthIIpek4hiG/3tnSNmWFNnZoijQBdYHWyZn3nw/UhuZoVdO26BNJa/kjUMI6AWIClciwwXURRDKVAu9FFgFtxYrHXLhLSq90JiJZ1yPxAsUNY6EVzmWMBJQZaLEABkEOBN/dlC88OheUIAXCyiKOajnpO7FKsdKVGYHrlgj4GsQJQRC9mdyJI1FB+zsbbZ3tzFwE/FJx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3323Stwxh0m67HtDg3Uk0F5oO4NqJ6YC3OpT3lmHLVmhi6XJrilSbinmrKT8kQ3VlNHchHd9fT6Zjz9ZTy9YT5OpQJCF2lkxp4sulnYd3Fr3//3v800qcLHV1VOrYoNr23OZsQaepa9GqK0z7jI6Ga7pYTEP22+2/ExJYnlwppzbKyGhN3NlbRfI7nmUu34gmqV8Dq84LwfH5th/JM4hzSmYGsJbpJQSi7f76KqvSJ3tEWCpnGNZyzjSHEymo4ct9SNK3+Rtt3gHt4/zYg4ad4taZ1gHgtrfu+kb0LDL6nMHfpRONvS7lGu6jCnZZTJn38Ado98KA== sidebar_class_name: "post api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Creates a new default config entry with specified key, value, schema, and metada diff --git a/docs/docs/api/create-dimension.api.mdx b/docs/docs/api/create-dimension.api.mdx index 95d64f47e..9bee2188c 100644 --- a/docs/docs/api/create-dimension.api.mdx +++ b/docs/docs/api/create-dimension.api.mdx @@ -5,7 +5,7 @@ description: "Creates a new dimension with the specified json schema. Dimensions sidebar_label: "CreateDimension" hide_title: true hide_table_of_contents: true -api: eJztWEtv4zYQ/iuETi0QJ0aKXHLzZo1sgBQOHOdkGAYtjSXuSqRKUpsYhv97Z6gXJcvOBsUCbbE5GArn/fhmKO2DCEyoRW6FksFtcKeBWzCMMwmvLBIZSIMU9ipswmwCzOQQiq2AiH01eG7CBDJ+yT7XnIZFsBUSWIh6YqVFyFPGrdViU5DiwqDoVmkWKmnhzY42nE7wv62IWcYljwFV2cvgIlA5aE6OPUSNa40hpGv4qwBjP6loF9zuA6dRWnrkeZ6iZZK9Ij/prHSVnuwuB1SoNl8htKgn12TJCjBEbYL2WA36L+PggLzKCNslyiLbgCbiaRM8ipwYT598YyjTzf89SMCcsW+wG33naQGsVMHQgyK0hYY2g9sU3sQmBRZxy5mGXIPB+F3UWCutijhRhXVlmzw9UEatsCn5NSv9QvPOyBp/ReQE19tChu5B8gwGU9DxeIAeJlzGsMZymRMcT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avqa1q2kahsoE17FY0asNi8glJrc4TbzzdokaCHIt7NZ1d5OiAdsxz8Q4tjb7xI0IpjkxPbueeHgPGARdEywbaY+UVYWfj8usU47Oewnn3OioGUdyNLaMbdUJXD+je7cOHUf2NWoc+Sk9jsCFhQpn3rx5b944ZdjBNtesAM0SN2ktbV+xDTUiuoDr44Pdp0Xfm9/NFN6/N0haA0TISDn3lYn4mGPWtvoxdqrS2ovJxeVo8stoclnurRZbOLGWMos+zdqfDQ42u7pL/bs+fpSZQ2TnWYKdiuzLdUKQi2p6boUdCyCmSsPD3Y6kPulkv6djTBeaw89L8r4W3CeHUk1VDxiqvlAYusCCjXhi4ISPfpyXs/sndgwkbvXd55eLOh55VMjfRFX7cdbRVhCULWu0KFaBiqI3lBqOKfbhzJ6kbXe5h9kjLWR++SUKdwri0XxDX6nwL6Khz1nWtUckcGc7XEDkOncT2itk0r+/ALEB26U= sidebar_class_name: "post api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Creates a new dimension with the specified json schema. Dimensions define catego diff --git a/docs/docs/api/create-experiment.api.mdx b/docs/docs/api/create-experiment.api.mdx index 31a241665..81bf6ee7e 100644 --- a/docs/docs/api/create-experiment.api.mdx +++ b/docs/docs/api/create-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Creates a new experiment with variants, context and conditions. Yo sidebar_label: "CreateExperiment" hide_title: true hide_table_of_contents: true -api: eJztWFtP60YQ/isrP7VSAoiKF95ygttGpSRKwlErhKKNPYn34Ft310AU5b93ZteXtXGACp22D/AAZnduO9/MN2vvvRBUIEWuRZZ6l95YAtegGGcpPDF4zkGKBFLNnoSO2COXgqdaDViQpRqeNeNpSM+hIH11wv7MChbwlGXGII/jHVM5BGKzYwloKQJlVBzDW5kVOdtkkmnJgweRbo0ER+WdEurEG3gZCnOyNwnrEP3aAgpI+KsApb9k4c673HsmONzAR57nsQiM8uk3RUfceyqIIOH0pHc5oMVs/Q0CspNLcqUFKNpNeQKOlMLw0613GHhN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otgbbw3HCBE918/SulA5Gc+oO5fl91ZcX4hH8g19i8XfaA19tTUVQwTmbIe7TrouzKz3rEz6+QpWZOwS sidebar_class_name: "post api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Creates a new experiment with variants, context and conditions. You can optional diff --git a/docs/docs/api/delete-context.api.mdx b/docs/docs/api/delete-context.api.mdx index 08f0d061f..5180fef25 100644 --- a/docs/docs/api/delete-context.api.mdx +++ b/docs/docs/api/delete-context.api.mdx @@ -5,7 +5,7 @@ description: "Permanently removes a context from the workspace. This operation c sidebar_label: "DeleteContext" hide_title: true hide_table_of_contents: true -api: eJzFVE1v2zAM/SuCThuQpEHXXnLr2gwrsA1Fm52CHhibidXakkrJbQPD/32k7ThNP7IN27BcIkt8j0/kEyudYkjI+Gic1RN9gVSARRvztSIs3D0GBSpxNuJjVEtyhYoZqgdHt8FDgiM1y0xQziOBUKgErHVRLVCVNnUWFdhUPZg8V7BcYhKFa2lWTB5cXgpkpAe6x5+nLOIMc4x42iblUw8EBe9Q0JN5pS1/cJRJ+ciIaA8x43VIMixATyod114iQiRjV7oeaMK70hAyeaQS60FP8jhs9QwjrMKGL0NIkfYx7jA4Wg23Yn4O3iunr+wf8F3LTvDOBgwSfzg+kr/dTu8UWXGI2mCE8eg1yCX3rKQEv7n4yXF71dEz1PF4/BJ1zhnIQn6FdI80JXKkOHALHOjGXzYKFrzPTdJ44eAmCEH18uZuccNWEmeQOCea9p4FhgArfLVfOpqY4+tyLjslp52MWn6MEEtM5npTo69gmb2QCK4wGzJz4ta0KWRjU7bhRB90r+WgMmktfcOkJBPXjXdDYWK2HoE3oyxG/xGCSU5Kwc2vxQfPzxEIqQ+43rJdSU3aa7/N2ddB9lnKbmM+z2YXqolWwOF8r67wG7MJciHn0ts9yn4lTRO+L08T0HTK2KVrSLuOXZXcY++C6TDcttBSH44Pj4fjD8PxsSjkkMjDS6Ddc2o9rraTZEdZtfXd/5p7Xd0au/gc+MHzPUrKRVxrp7lOev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UAp00Nu2WbLv5xPa+DJCtt2P8v65hV7dEl1rT0HIe0WkG19LpMst79DO6PUSBkvJkwXpNzcEvTjcNP3+L6Jhk9HkLTsGCi0eUk8rzN1G1AO1xTxGen3fX5YV4Clv3CGbFjQAd+Rd93uCqPdQN0XhzyX4v+lMhW9cPz3cfm6fmr6a4idcf+38f6v6/AoNorcIJrc463JPt3Jzm/kJ6e/rhdH5Ko/QD5f93zg== sidebar_class_name: "delete api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Permanently removes a context from the workspace. This operation cannot be undon diff --git a/docs/docs/api/delete-default-config.api.mdx b/docs/docs/api/delete-default-config.api.mdx index 93daa29af..d498124e8 100644 --- a/docs/docs/api/delete-default-config.api.mdx +++ b/docs/docs/api/delete-default-config.api.mdx @@ -5,7 +5,7 @@ description: "Permanently removes a default config entry from the workspace. Thi sidebar_label: "DeleteDefaultConfig" hide_title: true hide_table_of_contents: true -api: eJzVVMlu2zAQ/RWCpxbwhjS5+JbFRQMURZC4pyCHsTSymEgkM6TcGIL+vTOS7NiJExRdDvXF1Ox873FqnWJIyPhonNVTfYVUgkUbi7UiLN0KgwKVYgZVEVXibGaWit20Vhm5UsUc1Q9HD8FDgiM1z01QziOB1FMJWOuiWqBiU+aoxFSZTJmoIMswiWFTkTC4ompzOEysEZ/YHXOI7ORh2BOleAZFsYDkQa2gqHCkB3rb7jLlC1xggREvuoHP2+oc44GgZDsFPb2tteUPjn3ANfuM3NtDzPkckhxL0NNax7WXkBDJ2KVuBprwsTKE3CNShc1gW+Vp6Gg5NOmmVI6QIv12sS2af1DvTizBOxswSPzR5Fj+9qk+gJTiQLXJlLrHhxKvmayKEvzm4mdX2VQdv8g6mUxeZ10ypWShuEFaIc2ImGcOfE4c6JZ2GyUXvC9M0tI6vg9SoH59f7e4ZxEJvSQiiKa7bYkhwBIPAMWzRRMLPDzOdT/JeT9GIz/OgKWoRvdIqQ6qqtOcZqhZWLkT7aUtoq3cWE1TPe7fzbBT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iK5B9o86VOrdfP4Jozvt80WzYw4xq5oCau0PS/ebB0wsOYSKoZVs0YXJwWwcdPfUVIguLWWXZAN/VE+g2MfIQECsm8rKRioSz9ISwo6ZZWfDNh33u+9sgzXUCb05j06HddpQvkZi6wm1elKF0P5FXuevo9jf3cu6eC5nNMftFO733m5l2vr6f9/nbhTl/WgQU3mTtiKoowhDz7c7SSwXIhfyv4Ds34RJ6i/FSQqpXbopbXI6tO02oset9XqwAa997/p8en45nv45nl4KQqgEHDkxHbZuvwrVYS+fA9zsif0rnsmh9GJw1hqsAClFdEYS6yfzLjucTBjN5ERimiqUTBQ2G/SZ/3am6+T5a2Qn84rPFTlNC+kDprfQXr4x/cDh+YVCvroZLtfv6nsYh0dq5FindPALnwKtv+EdKLE9kz89fB/myZHfQRAe/i+hnv4LcBCtV3iNZdmGJ7KjK9M93T9X1x+u59dgzD9dZ3uY sidebar_class_name: "delete api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Permanently removes a default config entry from the workspace. This operation ca diff --git a/docs/docs/api/delete-dimension.api.mdx b/docs/docs/api/delete-dimension.api.mdx index f8c9122ef..b5edca01d 100644 --- a/docs/docs/api/delete-dimension.api.mdx +++ b/docs/docs/api/delete-dimension.api.mdx @@ -5,7 +5,7 @@ description: "Permanently removes a dimension from the workspace. This operation sidebar_label: "DeleteDimension" hide_title: true hide_table_of_contents: true -api: eJzVVMtu2zAQ/BWCpxbwC2ly8S1pXDRAUQSJewpyoKmVxUQimSXlRBD0792VZNnOC0Ufh/piipydXe4Mt5YJBI3GR+OsnMtLwEJZsDGvBELhNhCEEokpwAZCiBRdIWIG4tHhffBKw0QsMxOE84CKScSjyXORKpMLk7bQXXSmiE1Hs6FN8GATsNpQBoeCKBBSQNqBRKwqAU8mRGPXQjubmnXZsYeJHMkh10VCJZ9DDhHOt0no3CtUBe1hkPObWlr6IFyyhzB8V69iRuugMyiUnNcyVp6BISLllc1IIjyUBoGyRCyhGQ1cT2OH67FJtlQZq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4+7c9l58qFzo65Z4OTt0X4w32FeOnf7kbqaupMgLxLGw4QpFiU6YCmxYc6WVDHlOYBiaqT2bdm6JHLZ0Q0UUxF6z8TcqRWzB6W2sZFptMRYJMOoZHDUq8uNphhELF0yZASEXMoArSsbU9ahLrrwiNWKL8hA5bmpxnt1URLlfipnQz+2IbYedRYbL0pJg2IOwG+YgqXolxpL8Wk2u6DWnbTxUrFTTs8gKomU6zhM3atIbtJQI1MJPUdLVRgPemNQ3ce6grFywdMk67kTM2IcTZnS8RBSDbGa2UNDZZod9tPmcN0fayY05CloXDWTKVYUzmosvR6XiP69jDo/Tazg+oYHxMN3oJKEHnCz1XbFPdZm/WmdfQPy/V77NUlt0EISnELvKr2ZQiw553em/DOe/Y6ZBv6cnQbQFEnbwjVKu2JdJaqsd1F3MsTm2Ko+mhydHEzeHUxO2EOCIK0yFu3mbDv8xO6mGPi23jL5/9iDXZ4R7vHQG2I5x52C4VDaPrwebL3p9od6p6QEMWK9pqrCt2Dqmq9/JgjcnXS8k0HLOWedelXpyGdq9kKaCM/k7vVlt5neiKec7C6lXXEFpUn8R8dbWA02dU002CzDF3eiNbazyntHmHv/xNTuoh9YawGnNBY97rzt7ZN6d+icnX85n50TS34BcsVvjw== sidebar_class_name: "delete api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Permanently removes a dimension from the workspace. This operation will fail if diff --git a/docs/docs/api/discard-experiment.api.mdx b/docs/docs/api/discard-experiment.api.mdx index cac6273f8..b70dcf73b 100644 --- a/docs/docs/api/discard-experiment.api.mdx +++ b/docs/docs/api/discard-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Discards an experiment without selecting a winner, effectively can sidebar_label: "DiscardExperiment" hide_title: true hide_table_of_contents: true -api: eJzFV21v2zYQ/iuEPm1AnBhZ8yXfXFtdjWWJITvFgCAwaOlksZVFjaSSGIb/++5Ivdqy224tlg+JQt4b7zk+d9x5EehQidwImXm33kTokKtIM54xeMtBiQ1khr0Kk8jCMA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Xt7yaVTCJ+u8VbfmYQ0D/8vTukw2TaYT7DDSbojlUHT9+NCaQzQ7LuwQqloSXYQNwBDbeo36inuVbDZ0jJwr6tPHcrLMKZfoWkjSNxo/4okWB/Lx87gcp7+wfZ5W+2u6sgMMexJ+wycGnnsrb3ATqufom1t3VlqP6doDun4/xFT7qd2x5hhK9Dmeun2h4tiZL43EEJCam4O8bay6G05HH8E9L//Sgr2DhBR/ob/C4KdNf2aDtIBiz9ZYUtJFYaet55TSvy8X4XCd sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Discards an experiment without selecting a winner, effectively canceling the exp diff --git a/docs/docs/api/get-context-from-condition.api.mdx b/docs/docs/api/get-context-from-condition.api.mdx index 5d633629e..1d4b9a937 100644 --- a/docs/docs/api/get-context-from-condition.api.mdx +++ b/docs/docs/api/get-context-from-condition.api.mdx @@ -5,7 +5,7 @@ description: "Retrieves context information by matching against provided conditi sidebar_label: "GetContextFromCondition" hide_title: true hide_table_of_contents: true -api: eJzNVsFu2zgQ/RWCp13Adoxsc8mtDdptsNitkaSnwAhocSyxkUQtScU1DP/7vqEkW7blbIuiQH1IbHJm+Gbm8XE2UpNPnKmCsaW8lncUnKEX8iKxZaCvQZhyaV2heF8s1gLfksyUqVCpMqUPonL2xWjS7KANm/mJ+OyxEKxYmlJ3kbwImQpiZetcC1VV+ZotfEWJWZpE+IRK5Yz1EzmStiIXj7zVAPUnhZsmxgdni5vuHNg5+rcmH95ZvZbXGxlPKgN/5QNMEmNcfPGc20b6JKNC8bdgQk7nI9+WVR1map1bpeUWn5GslFMFBXJeXj9uZIkf8P86ti4dGw0ohsuXkdLk8Kt31LpiS4+6lqncNpiNIyQWXE3bUS/YyrpnX6mEfiDenFd8hTaQZ/vL6ZT/Hbb5TN4CxqLzxqnfXs8GlF18oSTAEaRAB4NpIKA+Q8BfVF7TkLfSDRyVz/px4HJM1gpgAdDvyadyAQv0yShRMwvB3h2XO/JOxF+09kIT+El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6bAV2RKhrCeyVpPcufqdtCp961nt4ZEXncNzQjnMTuBxb+2e+RUzftrmjnz8/Ih6IaFBWkiII6imyu02xZpzPud2fwXZ17gJ4q/5CQKhQLxPd1fQe4+qIsXtSotOttH0+fT8Yjz9ZTy9YIRchVKG7mv2RUxB0ZaO56DobsYHN9eun/8vG36T08AkLDEqLEzeFAw2Mu0hacxCmrkGeuTMRBxsNigcfTTFdsuP8Q5gmICPfGdgQ5tzYplx7f7M3MyU5QMQeiELS69k6Me75gL8SZwCih2pv/03u2ySMM2/i6vuu0HPWxRoWns8Yxt7iaPhvdd4i3lVu1dlu1Pg9sP9DMLz5lULdzjrGLni1zD8BRp+bwv0YIHwbIMLv1r6cJMl0SZ/vgCZCiMC sidebar_class_name: "post api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Retrieves context information by matching against provided conditions. Used to f diff --git a/docs/docs/api/move-context.api.mdx b/docs/docs/api/move-context.api.mdx index c21fb2aa2..2813dfa65 100644 --- a/docs/docs/api/move-context.api.mdx +++ b/docs/docs/api/move-context.api.mdx @@ -5,7 +5,7 @@ description: "Updates the condition of the mentioned context, if a context with sidebar_label: "MoveContext" hide_title: true hide_table_of_contents: true -api: eJzdV01vGzcQ/SvEnlpAsgU3vuiWGCkSFGkNf5wMwaB2Z7WMd5dbkmtJEPTf+4bcL0lrp62TQ5tDvCZnhvPeDN/QuyghGxtVOaXLaB7dV4l0ZIXLSMS6TBSvC536hYJK/pUS3nK0cROhUiHb38RaucwblrQeeMvckEy2gjbKOgsfh0hm1Zyin8kYlZCQZSIoTSl26pnyrUgoJ6fKVbDKu0OjSaQrMpJjf06Q8xeEuOr2DP1Zk3UfdLKN5rvIO5WOP2VV5Sr2fudfLcPdRTbOqJD85bYVIZhefkUGiFMZPsUpsl2YjRszlEnAKfProct+ckTtDVWGLHKxPTcyF7BwZJQUtQWxqTYdnYV0cQYCzsRvtLXgI1UliUShDJZ5LWUBDpm2Z5kDs7AVxSrdhuK1YV0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inNZrrChAeClptAYHClOarQDvUX4IH9E17AAesS8yHNjvLCfHccysXQjw5i8Kg+0XuRyQegIOI9Vxmed/1k+3GxuOQrN+BFsqsY2xSuqWaabez+YOEmmhpHVa5ktMjCbFAbg+yOVQXLyhWPPs2oJD7LAjXHgzg3GG6HTPMIjAM4DjwNnUcnNbuerNF3JzuV7HkKobhigvZzlF0Dz3YmSzXLnCvfSavitxUr39zyVHO4T8iJaQVuO2tfuMhC2J+22VYgrx/Vn4+qlxYS4vzECKluRifWXPI+9/wznv2dY7z4c+d4AZ8l7qOr7i3x/lFywQ3fAkfXf0voBzdN7zpQRaq9s3UVfKlQMqW2qvYFNGGDsdP56dl0/st0fsZ6EHFr6Vu7HjqZVkX38Dm4/Fp6+I+86erk+cLFmKT8SFaZnLGEwr6JOmkubfw5x82DcswQG97f7VAodG3y/Z6XkTzDBX/LlxNGwSUHHOWfKMvfaJxU5paeCd2PV/Xl+pN4ysV6URbb9g48j/CJuSw8VfZoqeY18Oqnh1N6b5nWA+7j73JU/6UzOC0I1AQ2XbCNTuLoiuo03oKVS/esbJ/rLq8XkF3W73sMJ6xi5Ibf/vjtg689RM9Lfm2HSaZYVf66joJJ/vkGK2ADaQ== sidebar_class_name: "put api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Updates the condition of the mentioned context, if a context with the new condit diff --git a/docs/docs/api/pause-experiment.api.mdx b/docs/docs/api/pause-experiment.api.mdx index 4315a920b..971134c3c 100644 --- a/docs/docs/api/pause-experiment.api.mdx +++ b/docs/docs/api/pause-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Temporarily pauses an inprogress experiment, suspending its effect sidebar_label: "PauseExperiment" hide_title: true hide_table_of_contents: true -api: eJzNV21v2zYQ/iuEPm1AXoys+ZJvrqOuxrLEkJ1iQBAYtERbbPU2kkpiGP7ve46UZMmW3XZrgfVDI5N3zx3vjs8dN14kdKhkYWSeeTfeTKRFrriSyZoVvNRCM54xmRUqXymhNRNvhVAyFZ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5Pz387Pb8kObCYObdHt7oUWehkrRvqziTcQMD/4XZdZZ5G1BmWGWlXxWo6utZ8bAwkGiJXdhq57kRDYREwxLRaodTiQaXrNb1G+hW17FM1YKaUVjRwJDU94wTEPNXiSHJ+HlVT9Rd2yM96jc2Wdo5hXcI3PGLuuQvzGoeivpO+uXVnpXGj3nhAJ/GHmGret1vWHEMFQ6eBWxtqjr1Bs5XoA1sLc5S3CVrDfjD4CO5p9WML1g8SUnxBP8Tgv01/boO02GLfrbCrZLPSjl3PKaW/LzjNeKc= sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Temporarily pauses an inprogress experiment, suspending its effects while preser diff --git a/docs/docs/api/ramp-experiment.api.mdx b/docs/docs/api/ramp-experiment.api.mdx index a7cf1f619..64fa24fb6 100644 --- a/docs/docs/api/ramp-experiment.api.mdx +++ b/docs/docs/api/ramp-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Adjusts the traffic percentage allocation for an in-progress exper sidebar_label: "RampExperiment" hide_title: true hide_table_of_contents: true -api: eJzNV11P4zgU/StWnnYlChU7vPDWKZmdalmo0jJaCaHKTdzGkCZZ2wGqqv99z7Xz1TYFZndGWl5I7etzP33u9caLhA6VzI3MUu/SG0SPhTaamVgwo/hiIUOWCxWK1PClYDxJspCTLFtkivGUybSXq2yphNZMvEJUriB7YiVfZLpkS8WjgidMZVgpDMMx+pzz8Illi9YZyCwENwWgTr0TL8O61TSKYFfAV7lfi2Jbib8Loc3nLFp7lxsvzFJDG/jkeZ5IZ+TZoyavNp4OY7Hi9GXWuQBeNn8UIeHAeKAaKbSFiXm6FDMleHmwFNdGwRdve+KVQZk1QWmJpcVqLpS33Tr7pBKw/X4PtRPjAavSJOLA1cD5OSz92+5iG1UILORc8ZUwQsGJ+42X4geAZARdkrKacxPj+yAKjVv7kDXIay9Ty14DFQsewcV/C/aSqSed81D8B7wHWtF5lmqXtPN+n/7tFvJuFBlkWHUIyn5QuSAsXfaGyL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XMhl7loXqyBd2JXIYnAfpY7nsSnztI5EUmW5qgWkUrkMuXyrsl5IpKGDrlcz63SKMl7qZmAE3szybeXnfqOyNF+HYS9Vh4G3AC1qOsZfQZTC9FmB1ynSimMnxFu9GbShvpZ3yzNH7Eb4lQz0LFfxa/uuEhqkulRpnnUX2hvDQcksrTbS6g/tUB1y+YnLY7tldOSpaA/7TF3RbycZNnjhlZnFNdrG0AKnfx382tGmhU5zgN+k5mOao4ghVTdqnDrvau5XwFW4ihOhYLqvFFjy/Lt0eDCqbveARhpL7zvM6Q7B+c9nh878KeZRmj595DIG4UPkm7ixH7CQjpY8ZOmhnK+ZzoNAiBDK57nbWzuTWIApni2sYX02xUZpGZtj7raUxWXiXgsWRetFHpMU2O2kggtiSbSlozSPQ2o7fO1ICqaUqpLUoDCLt0UoQ1qAglUWY67tH+SFOO0wlNO2HbWLzqJCo7Ui4s/wQgjaw5sjgfdraSL2aTq9o2nR+Ytk5wE9SVzzFboduh80zASrQFVuMvIWWei3aqOV3a6qIFm+pMG9MZNYdLpg4JcoDd0IH9AMb0f5C++0vvT6dCvD3SleABndXRHkaPUb+xDQK7i06fNM9iNjsg9cy2CYE8DDI43l+/sCaVGVwGONNqE6c5E/jlkVIa0flKANrJVmHOIwvMh2OfvTyTntW1o+btl71Fjx1/RYAZsoukrj+jHpv3CquY7HYN1JumbEwY4eNIvU2lfkfpJDIku1LNSDHLSz8mxwdt4b/NIbnJOzEDErbi908VAiPmWt9+5ed6x44X/0Yi/SQt3rFHOOtFNk0Thd2T40ehX1lwvbqGzlotgwIhiS2W5RBuJexbsdLSM1isr5sWg9c4otijuUmr5xORY81uKVEP04LvrtT+yYmeWAm2xsh8Mghb/wiY7oXtI7XJjysfrNtTstjad2ZQHd0u+iqvkQb2lzAgVD9aZuoCglDnpQfWII2s3Mq7JNPrsbTkefID0v/oGDwYQOKb62FbF24U+tk5Z37NoWU0yyzO2N8xwo/fwDX6KXjA== sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Adjusts the traffic percentage allocation for an in-progress experiment, allowin diff --git a/docs/docs/api/resume-experiment.api.mdx b/docs/docs/api/resume-experiment.api.mdx index 5fac6d116..96af310c6 100644 --- a/docs/docs/api/resume-experiment.api.mdx +++ b/docs/docs/api/resume-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Resumes a previously paused experiment, restoring its in-progress sidebar_label: "ResumeExperiment" hide_title: true hide_table_of_contents: true -api: eJy9V01v2zgQ/SuETrtAnBjZ5pKb66itsd7YkJ1igSAwaGlssZVELUklMQz/950h9WVbdtNtuz2kNDl8M5w3fENtvQh0qERuhMy8Wy8AXaSgGWe5gmchC51sWM4LDRGD1xyUSCEzF0yBNlKJbM2E0UxkvVzJNU5qpg03wHgWoU0PMr5MyOqZK8Ezw+CZJwUnZ5fehScR0P4YRbVvv/aCBgr+KdDTexltvNutF8rM0AIOeZ4nIrSbr75oin3r6TCGlNPIbHJARLn8AiHhYHSIagRoCxPzbA0LBbzcWJprQyfydjvnWCjAsB4PzJ8uPCNMAh0BBy7aYRnlbh/IqAJwIueKp2BAYSiPWy/DHwglIoxSEAM5NzGOj85SBXcMWYO89qRa9xqoGHgE6j+DvUj1Vec8hB/Ae6IZnctMu9Rf9/v0X1fRNXlkaMWqbejuJ9GOiemKOERiDUQLbo6XL7yVVCmteBEa9QzG196z3HRCJlybRSojsRLQ4fQUqst8B15z8xZu7RgRsiKlYr3zPwwexnOcufPH/txfTD77QTC682ftym1yPSccdCGfQSkRweIrbHTLAVeKb6gADKS6+67QjS861pqghoE/mPt3ODOc3A/HD3d2PLqfBpOPgT+bUbSj2XAQuIXp4GGGg854Z9ZZFbVRfLUS4QJXQ1zk63Zu0PkSy3VXFtCr6SoRHkWCqokn03ax4KbDGkVB1OhDM0Sr9jC0wKssOLMKibSy0hdDfsMY03DJ/sSMsghWIgMW0SE07mVEtrY6SZKIQ51DKFYbZmJoYE3MEarQhi2BoWyQalZJGVZx0BFLgX0Ldd93P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UmB3062cFEqibhMooo0psbDXzxNwZRKVaYsStO7h64W0wIULPMUs21/Ly/EavuhnLTtqF30FpUanRUJf4YXQtCeLXQG71+kTdj7yeSe5kXvL5JdRNgWvv0K0w7dTwZmglegqrA5eYss9Fu10cpuV1WQLF/Q8N6YShw6XTEwTKJiP8ZHNMe7cf4yOK2vvTldy3hzqt0lpPsrogLtfuWeA2YJp1Z9nst+Ym3+lhsZDQqCeHyi4Xx3XyAxeivwVKONqdJ87A9jbsuQ1veK0IXWSTMOcZhe5rt6AdDJGe07aj5s2deoceLH9DgBlyq6TKP6YRi+cqq6joddg/llNlfOkDLN4wLpyJWRpR7wgPHmnJ+dX/TOfuudXdA5iNgld3e3fBd58mStZ+pOM9ySwP/8nC6jTA3pFKOLdINh2Qt9HT422g+1jEvXe8pSRPWg71uSWq+RV/Gg082GlhFrTfX5VPaTGcUQ1RpLQ9+o9zlPjTgSiJ9HZRP9hR0ytJpas5VrW5iO8AufaHP+gbzBDajeoN9du9fSeEFvLaBr90NUNd/XLW1eoCSd3sRPCZXEXlupTwzApLk9KtukqPvBZPge0rPyf1cwbdAhzV+oJvC3C79yTjoicWtrjCbZonBNNvCg9OczPBdqtg== sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Resumes a previously paused experiment, restoring its in-progress state and re-e diff --git a/docs/docs/api/update-default-config.api.mdx b/docs/docs/api/update-default-config.api.mdx index 2eecf5329..520f76ae7 100644 --- a/docs/docs/api/update-default-config.api.mdx +++ b/docs/docs/api/update-default-config.api.mdx @@ -5,7 +5,7 @@ description: "Updates an existing default config entry. Allows modification of v sidebar_label: "UpdateDefaultConfig" hide_title: true hide_table_of_contents: true -api: eJzdV01v20gM/SuDOe0CtmNkm0tubvqVyzZI3FNiGGOJsqaVNNP5aGIY/u9LzsiWZMtusm0Xi/pgCxL5+IZ8pOg1T8EmRmonVcUv+SedCgeWiYrBk7ROVkuWQiZ84ViiqkwuGVTOrEZsUhTq0bJS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JFnYjiXB40SWEt9LZwmVboA3M4LjQaASYWAidNpLIxVRrfHGlSSXrAqIU1bqTBQV5oJh2Gctzm0biYGNUWI4tCPKAXAPQO516J3i+UL9jH8fiKJnzytxmL2KkYa9cO3U8OaWITo6ngK/IWszBo1UYru11VQbJiRiuX103EUheFZIN6DbdyYWTawBmt4LiJz/lJfff20917ssKWXlO3Qhas8su4x90c/VoORKUGhffVW+FUNgqkf3tHS3X/PWBu7FbgrkG7oWJL4T+Oua1Een5QhzG6UZoJFKfjOaV8M2JIc0rvqfefYPYcM1H8KTtRIGaL+um6uczfPwoqvI7LupneXXv5Gevq2D3Yxj22vHY2jCpzE+NQF9pNwKqsjFO1mziJXII+HZ6e9Ye/9YdnpIcifi7i9Kgx0wRn7erbJ7jzU+U//AusLgoPj/6k0jibyONgNfFPPXPL2z2DSue0CLHOC4wMCaxWWIHwyer1mh5jVVjqpDvKjVViSuHGvpLK0Xdsy1xoB0/E6+frelv/wo5xrB+KctmUFq93dLrB19ismzP31c0nMztH+pYCTYgfYmr3hG9ZSwL1iOyPCaOROFiCjcYI537ln5TdHaVXo/HFR5Se1r/EsUZJyYoF/UrHzxh/E52MMy8+W+FxVM5CPAl4AqW/r2LF4v8= sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Updates an existing default config entry. Allows modification of value, schema, diff --git a/docs/docs/api/update-dimension.api.mdx b/docs/docs/api/update-dimension.api.mdx index 3e4867bc5..b37405a50 100644 --- a/docs/docs/api/update-dimension.api.mdx +++ b/docs/docs/api/update-dimension.api.mdx @@ -5,7 +5,7 @@ description: "Updates an existing dimension's configuration. Allows modification sidebar_label: "UpdateDimension" hide_title: true hide_table_of_contents: true -api: eJzVWG1v2zYQ/iuEvmwD7MTomi/55qZZEiCbA9f55BoGLZ0ttpLIkVQTw/B/7x2pd8vOsqUDGiCJTN7Lw7vn7ijvgghMqIWyQmbBZfCoIm7BMJ4xeBbGimzDIpFCZnD/F8NCma3FJt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cuKb6h75Hwr/WCtEraWmj3djg1JevMDgieY0o/fwP659FB sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Updates an existing dimension's configuration. Allows modification of schema, po diff --git a/docs/docs/api/update-override.api.mdx b/docs/docs/api/update-override.api.mdx index 387e1ad1a..da889ce9e 100644 --- a/docs/docs/api/update-override.api.mdx +++ b/docs/docs/api/update-override.api.mdx @@ -5,7 +5,7 @@ description: "Updates the overrides for an existing context. Allows modification sidebar_label: "UpdateOverride" hide_title: true hide_table_of_contents: true -api: eJzlV11P4zgU/StWXnZGakvFDi+8MWhWoNHuIGCeUIXc5LbxkMRZ2xmoqv73PdfOV5vAsGJHWu0iQUt87/H9OPfY2UYJ2dio0ildRKfR1zKRjqxwKQn9nYxRWBcrbYQsBD0p61SxFrEuHD25mTjLMv1oRa4TtVKxZBChV62n+C6zCv6PqcpI5FIVDr+MwPg1yi+WvyWKne0smkS6JOOhLpM2oi81IpYN/QlM91Enm+h0G3mUwvFXWZZZHcXRN8v5bCMbp5RL/uY2JQFPL79R7IBTGt7IKbItzJOH0QV9WUWnd0MXp1zGD1Qy8Mejbg/rDJKMdrsQrTKE1Tu2Wewmz8M2MbwQ26GrTELhZHbVd8HG+329ptKQRZ16xZaZgIUjo6SoLCW+zfVeaJaLUyQxE59pY0VCK1WQSFROheUuFzJHY2WRND22JcVqtQmdbWBdKgFVWSeW6D+5WS/b8yaOQZ2afBe7xZ45P7xMkATIRiaCV0O0t5QGwCu1rkzN3pb0PnZDZSZj4vxllbmO0FS0perYK6QJaYaimabobNLb44EXe6Vjr/7ACTBe9kvVsN9Gh9EPKDeJ4lQWa7o3JO2oxWGx98wnPRK2xe11IUxj3YsmrOswkYDew3amIjwopQFXwAfrZ4qJA6CnaajJ1Mm1xWaKW5GSTNDYyXBqu+B7CNqsp34UX+k8DK4H9qjNgy3R6zfgLfiJLcGEMLjH8zl/jElsUzsBG9E4NeV/u5yNytEk8oT77+rI/1MQGqv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ppBGYt2g2XWQj885hNDfJ6rwJ9XL20kBDnMT0kux6hWHPO+9z1L1j2mmO8+EvneAGfJ+6k6/bN+OFJcskdvKv46uzwfWeM6I0HDeEf3EQddZUvtPejKpGbEvVUaKsqM4FuA9jx9PhkPP1tPD1hPYi4lfR9X82lgXZF5/l7cD829PGveLpXifNFizlJ+ZmsNBlbGor6buCBYbkJUvjO29staoQ+m2y342XkzXCtz/hywig454BycdfzObdBoixvIIcLmVl6IUjP2YgJbOBRUo3LUcS99PpDfr6urvNfxLfOa54wP/6o7gNn77QgUDHW+JYxWonendRqnIGGC/eibJfcrs5uzy8gPa/+cYPKYyUj1/xPHfz02dHeSU9Efm2L+SVflv6GjgIof30FzJykUg== sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Updates the overrides for an existing context. Allows modification of override v diff --git a/docs/docs/api/update-overrides-experiment.api.mdx b/docs/docs/api/update-overrides-experiment.api.mdx index 8b5cd9c4e..51cfe53d4 100644 --- a/docs/docs/api/update-overrides-experiment.api.mdx +++ b/docs/docs/api/update-overrides-experiment.api.mdx @@ -5,7 +5,7 @@ description: "Updates the overrides for specific variants within an experiment, sidebar_label: "UpdateOverridesExperiment" hide_title: true hide_table_of_contents: true -api: eJztWN9v4jgQ/lesPN1JpUW97UvfWJq9RddrUYDVSd0KmcQQ74Y4ZzttEeJ/vxnbSRwIbe/avaftQwnx/PLM+PvGbIOEqVjyQnORB5fBrEioZorolBHxwKTksE6WQhJVsJgveUweqOQ014o8cp3ynNCcsKeCSb5muT4hNMvEI89XZC0SlKdomYilJ0QWLKUPHIz+z+4eU54xwjXhioAp9BpLBhEkRGn4OA1OAgFqxsgoqfNxW4UW1kZBUrK/S6b0R5FsgsttEItc4wI80qLIXChn3xQmdhuoOGVrik96UzAwLRbfWIx2Cok+NWcKV91+5xlX2pOmUtINCHPN1uplKzzxZJSWkKFgB5urNtJlgSYJx5BpNvZtgVq7R4YiX/JVKV2q67LplGoiWZHR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U9zOP3WwL3qz14WWHlbcg9P3rVdV2xNYnmOukm5rLQcGfzYdGGekwXux/EcFcRM0UrNfodXGv082GXqP/NJ3Zx5Jvp1RktFwsDT2jF2Y8NeIL9flxWA4ZP7FDvlZTfbZytI7pEX/hEWOA/5KwASpUl/VXt+6tND41bD0gKPomppofIlrWvECJxcdjP0VVEntsW+/og2By+0XZJnLf9ceDd5Celp8x0Ym0SfMlfeLE/y79ygXpwNW9W2N0y+aFmz0Cr5T+/QOYb+O0 sidebar_class_name: "patch api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Updates the overrides for specific variants within an experiment, allowing modif diff --git a/docs/docs/api/weight-recompute.api.mdx b/docs/docs/api/weight-recompute.api.mdx index b95349e67..fe408432d 100644 --- a/docs/docs/api/weight-recompute.api.mdx +++ b/docs/docs/api/weight-recompute.api.mdx @@ -5,7 +5,7 @@ description: "Recalculates and updates the priority weights for all contexts in sidebar_label: "WeightRecompute" hide_title: true hide_table_of_contents: true -api: eJzVVttq20AQ/ZVFTy34Ropf8taGQkIpmFzogwllLI2tTSTtZnY3iTH+986sZFm+5AIlhT5Z1p6ZOTNzZlarJEOXkrZemyo5TS4xhSINBXh0CqpMBZvFZ5+jsqQNab9UT6gXuXdqbkhBUajUVB6f+YWuIvDJ0L2zkKKagcNMmfhak8p0iZXjUG6Q9BJjkUACX2Qc+ld0ygRMaYNHPrdAUKJHcsnpdJVU/Idxz30ON9eLvoeFY5QW3jlChsT/XJpjCcnpKvFLK3DnSVeLZL3udTwYWvR19n7jXkL4EDQhE/UUcMdZm+1f+LuVN85yYdAJ/mQ0kp/d5uxVSDFIbaw4WuxC5cUOrC10Gms7vHNivDokY2Z3mHqpM0knvK5Dc7+7KCCCpWTmsXRvW3NVj6XL3DJdp3HoAbL6DIpJ1xeb7YvTcrqcolOtP2D1sSaRNKggWhNNNnpUJfg0ZwYD9QOXTmU41xVuRaikhbXMH6EI/Ogspnq+jCJu3foc2FVwXs1QsR5Ful77QnI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fYeOZhFI1sCchoxJmmj9yHfHTWxCq3CQS925DxdFV9IEtgSEfibpBBU05XPV5IVqj5dcsjeM7OMzleqyljD0YxIhBa4JJGIxDIjFT9hkBAU11nbGPeBB3OzEG/kASBQESGpSejBSYZbHELDSii9ExnSfEDax/KcQj4dwNWDUpkpwH+YzKcb+v2IGIbjr97Mj5C0ZXrcJ2yfjilEY/oYVDVt6CewT33jmk48VP0SlS1/MVnGx1fSIn4DyRzNvzUw1nWRnz8IErjbVGk/8kjcMLk3Q0jRjUWeJQNxeYj0IAskOyZcx76wyJCZo7ZQI2Ywvc6JCxpZGbxD6umjy3khfvy6jJKuow6d0JrTAH5isTtSR98zV3kKF0oRoTVNmmh81D0gIjZmhk/uzJ/jlOczHGsU8xI2ojJhQVf8QsAGgvRNdg9msVKvZxsbimnp/zxWJHgduQu1w7onu/v3mE6WpsjyYGS9liFWbFmOSD6p5iBdnSjEWlXbVq/os3yLmaLFBT2AwrQ7MbA6R5HSr8c9ZK/yyL78wNRroHEamJpIHua0xrM+NWzaoQ7J/cK/Euko+7e5qwh/uApXG9wf3e2y1xLd/+0z57ItL6EQ3T5SZrxtEcE2wr3o1xOrmkfeqbzyB7TZhk/lycZJCKpZrSJKdt0W4jVtga37U9VLXPrs/n5xfT+R/T+QUhRJNQ86TE9qGSexobPrBG2LZ7Rf+/z8D2vhJlrEbVEv7oNEHKlLorWtdo3bf3Pa2QCRWmS3bbLYX64vRuR8vfIzjiGn4+cpzlS7pDIlf3RiMaSuVpA3lccu3hmWt5CuwDbE48TNObgk4Rl18f5M1NO+F+Zy/F65+xPz/U8JE7ipYN3mFns2GwdzQSdsN+cf1lgez+B5qzbQ8= sidebar_class_name: "put api-method" info_path: docs/api/superposition custom_edit_url: null @@ -62,7 +62,7 @@ Recalculates and updates the priority weights for all contexts in the workspace diff --git a/smithy/models/context.smithy b/smithy/models/context.smithy index 4c10dcd87..1dfe05d23 100644 --- a/smithy/models/context.smithy +++ b/smithy/models/context.smithy @@ -79,7 +79,7 @@ structure ContextResponse for Context { @idempotent @http(method: "PUT", uri: "/context") @tags(["Context Management"]) -operation CreateContext with [GetOperation] { +operation CreateContext with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { @httpHeader("x-config-tags") @notProperty @@ -123,7 +123,7 @@ operation GetContext with [GetOperation] { @documentation("Updates the condition of the mentioned context, if a context with the new condition already exists, it merges the override and effectively deleting the old context") @http(method: "PUT", uri: "/context/move/{id}") @tags(["Context Management"]) -operation MoveContext with [GetOperation] { +operation MoveContext with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { @httpLabel @required @@ -159,7 +159,7 @@ structure UpdateContextOverrideRequest for Context { @documentation("Updates the overrides for an existing context. Allows modification of override values while maintaining the context's conditions.") @http(method: "PATCH", uri: "/context/overrides") @tags(["Context Management"]) -operation UpdateOverride with [GetOperation] { +operation UpdateOverride with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { // REVIEW Should this be made a property? @httpHeader("x-config-tags") @@ -178,7 +178,7 @@ operation UpdateOverride with [GetOperation] { @documentation("Retrieves context information by matching against provided conditions. Used to find contexts that would apply to specific scenarios.") @http(method: "POST", uri: "/context/get") @tags(["Context Management"]) -operation GetContextFromCondition with [GetOperation] { +operation GetContextFromCondition with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { @httpPayload @notProperty @@ -243,7 +243,7 @@ operation ListContexts { @idempotent @http(method: "DELETE", uri: "/context/{id}", code: 204) @tags(["Context Management"]) -operation DeleteContext with [GetOperation] { +operation DeleteContext with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { @httpLabel @required @@ -276,7 +276,7 @@ list WeightRecomputeResponses { @documentation("Recalculates and updates the priority weights for all contexts in the workspace based on their dimensions.") @http(method: "PUT", uri: "/context/weight/recompute") @tags(["Context Management"]) -operation WeightRecompute { +operation WeightRecompute with [WebhookOperation] { input := with [WorkspaceMixin] { @httpHeader("x-config-tags") @notProperty @@ -345,7 +345,7 @@ list BulkOperationOutList { @documentation("Executes multiple context operations (PUT, REPLACE, DELETE, MOVE) in a single atomic transaction for efficient batch processing.") @http(method: "PUT", uri: "/context/bulk-operations") @tags(["Context Management"]) -operation BulkOperation with [GetOperation] { +operation BulkOperation with [GetOperation, WebhookOperation] { input := for Context with [WorkspaceMixin] { @httpHeader("x-config-tags") @notProperty diff --git a/smithy/models/default-config.smithy b/smithy/models/default-config.smithy index 0582b6dc1..6243f347d 100644 --- a/smithy/models/default-config.smithy +++ b/smithy/models/default-config.smithy @@ -89,7 +89,7 @@ operation GetDefaultConfig with [GetOperation] { @documentation("Creates a new default config entry with specified key, value, schema, and metadata. Default configs serve as fallback values when no specific context matches.") @http(method: "POST", uri: "/default-config") @tags(["Default Configuration"]) -operation CreateDefaultConfig { +operation CreateDefaultConfig with [WebhookOperation] { input := with [DefaultConfigMixin, WorkspaceMixin] {} output: DefaultConfigResponse } @@ -115,7 +115,7 @@ operation ListDefaultConfigs { @idempotent @http(method: "PATCH", uri: "/default-config/{key}") @tags(["Default Configuration"]) -operation UpdateDefaultConfig with [GetOperation] { +operation UpdateDefaultConfig with [GetOperation, WebhookOperation] { input := for DefaultConfig with [WorkspaceMixin] { @httpLabel @required @@ -144,7 +144,7 @@ operation UpdateDefaultConfig with [GetOperation] { @idempotent @http(method: "DELETE", uri: "/default-config/{key}", code: 204) @tags(["Default Configuration"]) -operation DeleteDefaultConfig with [GetOperation] { +operation DeleteDefaultConfig with [GetOperation, WebhookOperation] { input := for DefaultConfig with [WorkspaceMixin] { @httpLabel @required diff --git a/smithy/models/dimension.smithy b/smithy/models/dimension.smithy index 5ed1136c7..f2b16eaec 100644 --- a/smithy/models/dimension.smithy +++ b/smithy/models/dimension.smithy @@ -93,7 +93,7 @@ list DimensionList { @documentation("Creates a new dimension with the specified json schema. Dimensions define categorical attributes used for context-based config management.") @http(method: "POST", uri: "/dimension") @tags(["Dimensions"]) -operation CreateDimension { +operation CreateDimension with [WebhookOperation] { input := for Dimension with [WorkspaceMixin] { @required $dimension @@ -151,7 +151,7 @@ operation GetDimension with [GetOperation] { @idempotent @http(method: "PATCH", uri: "/dimension/{dimension}") @tags(["Dimensions"]) -operation UpdateDimension with [GetOperation] { +operation UpdateDimension with [GetOperation, WebhookOperation] { input := for Dimension with [WorkspaceMixin] { @httpLabel @required @@ -180,7 +180,7 @@ operation UpdateDimension with [GetOperation] { @idempotent @http(method: "DELETE", uri: "/dimension/{dimension}", code: 204) @tags(["Dimensions"]) -operation DeleteDimension with [GetOperation] { +operation DeleteDimension with [GetOperation, WebhookOperation] { input := for Dimension with [WorkspaceMixin] { @httpLabel @required diff --git a/smithy/models/experiments.smithy b/smithy/models/experiments.smithy index 834036980..9e6963ab7 100644 --- a/smithy/models/experiments.smithy +++ b/smithy/models/experiments.smithy @@ -230,7 +230,7 @@ structure ApplicableVariantsInput for Experiments with [WorkspaceMixin] { @documentation("Creates a new experiment with variants, context and conditions. You can optionally specify metrics and experiment group for tracking and analysis.") @http(method: "POST", uri: "/experiments") @tags(["Experimentation"]) -operation CreateExperiment { +operation CreateExperiment with [WebhookOperation] { input: CreateExperimentRequest output: ExperimentResponse } @@ -239,7 +239,7 @@ operation CreateExperiment { @documentation("Updates the overrides for specific variants within an experiment, allowing modification of experiment behavior Updates the overrides for specific variants within an experiment, allowing modification of experiment behavior while it is in the created state.") @http(method: "PATCH", uri: "/experiments/{id}/overrides") @tags(["Experimentation"]) -operation UpdateOverridesExperiment with [GetOperation] { +operation UpdateOverridesExperiment with [GetOperation, WebhookOperation] { input: UpdateOverrideRequest output: ExperimentResponse } @@ -248,7 +248,7 @@ operation UpdateOverridesExperiment with [GetOperation] { @idempotent @http(method: "PATCH", uri: "/experiments/{id}/conclude") @tags(["Experimentation"]) -operation ConcludeExperiment with [GetOperation] { +operation ConcludeExperiment with [GetOperation, WebhookOperation] { input := for Experiments with [WorkspaceMixin] { @httpLabel @required @@ -270,7 +270,7 @@ operation ConcludeExperiment with [GetOperation] { @idempotent @http(method: "PATCH", uri: "/experiments/{id}/discard") @tags(["Experimentation"]) -operation DiscardExperiment with [GetOperation] { +operation DiscardExperiment with [GetOperation, WebhookOperation] { input := for Experiments with [WorkspaceMixin] { @httpLabel @required @@ -287,7 +287,7 @@ operation DiscardExperiment with [GetOperation] { @idempotent @http(method: "PATCH", uri: "/experiments/{id}/ramp") @tags(["Experimentation"]) -operation RampExperiment with [GetOperation] { +operation RampExperiment with [GetOperation, WebhookOperation] { input := for Experiments with [WorkspaceMixin] { @httpLabel @required @@ -385,7 +385,7 @@ operation ApplicableVariants { @idempotent @http(method: "PATCH", uri: "/experiments/{id}/pause") @tags(["Experimentation"]) -operation PauseExperiment with [GetOperation] { +operation PauseExperiment with [GetOperation, WebhookOperation] { input := for Experiments with [WorkspaceMixin] { @httpLabel @required @@ -402,7 +402,7 @@ operation PauseExperiment with [GetOperation] { @idempotent @http(method: "PATCH", uri: "/experiments/{id}/resume") @tags(["Experimentation"]) -operation ResumeExperiment with [GetOperation] { +operation ResumeExperiment with [GetOperation, WebhookOperation] { input := for Experiments with [WorkspaceMixin] { @httpLabel @required diff --git a/smithy/models/main.smithy b/smithy/models/main.smithy index c6b84042c..e80755dff 100644 --- a/smithy/models/main.smithy +++ b/smithy/models/main.smithy @@ -87,6 +87,14 @@ structure InternalServerError { @error("client") structure ResourceNotFound {} +@documentation("Indicates that the operation succeeded but the webhook call failed. The response body contains the successful result, but the client should be aware that webhook notification did not complete.") +@httpError(512) +@error("server") +structure WebhookFailed { + @documentation("The successful operation result that would have been returned with HTTP 200. The structure matches the operation's normal output type.") + data: Document +} + @mixin operation GetOperation { errors: [ @@ -94,6 +102,13 @@ operation GetOperation { ] } +@mixin +operation WebhookOperation { + errors: [ + WebhookFailed + ] +} + @timestampFormat("date-time") timestamp DateTime diff --git a/smithy/patches/python.patch b/smithy/patches/python.patch index 92529d41b..c8aa1da5a 100644 --- a/smithy/patches/python.patch +++ b/smithy/patches/python.patch @@ -3,7 +3,7 @@ index 7c295b28..b7a7bd7e 100644 --- a/clients/python/sdk/pyproject.toml +++ b/clients/python/sdk/pyproject.toml @@ -3,7 +3,7 @@ - + [project] name = "superposition_sdk" -version = "0.0.1" @@ -14,7 +14,7 @@ index 7c295b28..b7a7bd7e 100644 @@ -48,6 +48,10 @@ exclude = [ "tests", ] - + +[tool.hatch.version] +source = "env" +variable = "VERSION" @@ -22,12 +22,11 @@ index 7c295b28..b7a7bd7e 100644 [tool.pyright] typeCheckingMode = "strict" reportPrivateUsage = false - -diff --git a/clients/python/sdk/superposition_sdk/models.py b/clients/python/sdk/superposition_sdk/models.py -index 6434d0c3..38e37e90 100644 + diff --git a/clients/python/sdk/superposition_sdk/models.py b/clients/python/sdk/superposition_sdk/models.py +index 06c1b885..44095f1c 100644 --- a/clients/python/sdk/superposition_sdk/models.py +++ b/clients/python/sdk/superposition_sdk/models.py -@@ -652,7 +652,7 @@ ADD_MEMBERS_TO_GROUP = APIOperation( +@@ -676,7 +676,7 @@ ADD_MEMBERS_TO_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -36,7 +35,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -854,7 +854,7 @@ APPLICABLE_VARIANTS = APIOperation( +@@ -878,7 +878,7 @@ APPLICABLE_VARIANTS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -45,7 +44,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -1128,7 +1128,7 @@ LIST_AUDIT_LOGS = APIOperation( +@@ -1152,7 +1152,7 @@ LIST_AUDIT_LOGS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -54,7 +53,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -1887,7 +1887,7 @@ BULK_OPERATION = APIOperation( +@@ -1959,7 +1959,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#ResourceNotFound"): ResourceNotFound, }), effective_auth_schemes = [ @@ -63,7 +62,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -2146,7 +2146,7 @@ CONCLUDE_EXPERIMENT = APIOperation( +@@ -2249,7 +2249,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -72,7 +71,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -2658,7 +2658,7 @@ GET_CONFIG = APIOperation( +@@ -2761,7 +2761,7 @@ GET_CONFIG = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -81,7 +80,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -2749,7 +2749,7 @@ GET_CONFIG_FAST = APIOperation( +@@ -2852,7 +2852,7 @@ GET_CONFIG_FAST = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -90,7 +89,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -2886,7 +2886,7 @@ GET_RESOLVED_CONFIG = APIOperation( +@@ -2989,7 +2989,7 @@ GET_RESOLVED_CONFIG = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -99,7 +98,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3023,7 +3023,7 @@ GET_RESOLVED_CONFIG_WITH_IDENTIFIER = APIOperation( +@@ -3126,7 +3126,7 @@ GET_RESOLVED_CONFIG_WITH_IDENTIFIER = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -108,7 +107,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3138,7 +3138,7 @@ GET_VERSION = APIOperation( +@@ -3241,7 +3241,7 @@ GET_VERSION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -117,7 +116,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3318,7 +3318,7 @@ LIST_VERSIONS = APIOperation( +@@ -3421,7 +3421,7 @@ LIST_VERSIONS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -126,7 +125,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3482,7 +3482,7 @@ CREATE_CONTEXT = APIOperation( +@@ -3586,7 +3586,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -135,7 +134,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3566,7 +3566,7 @@ DELETE_CONTEXT = APIOperation( +@@ -3671,7 +3671,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -144,7 +143,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3726,7 +3726,7 @@ GET_CONTEXT = APIOperation( +@@ -3831,7 +3831,7 @@ GET_CONTEXT = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -153,7 +152,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -3886,7 +3886,7 @@ GET_CONTEXT_FROM_CONDITION = APIOperation( +@@ -3992,7 +3992,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -162,7 +161,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4074,7 +4074,7 @@ LIST_CONTEXTS = APIOperation( +@@ -4180,7 +4180,7 @@ LIST_CONTEXTS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -171,7 +170,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4238,7 +4238,7 @@ MOVE_CONTEXT = APIOperation( +@@ -4345,7 +4345,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -180,7 +179,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4402,7 +4402,7 @@ UPDATE_OVERRIDE = APIOperation( +@@ -4510,7 +4510,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -189,7 +188,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4489,7 +4489,7 @@ VALIDATE_CONTEXT = APIOperation( +@@ -4597,7 +4597,7 @@ VALIDATE_CONTEXT = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -198,8 +197,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4653,7 +4653,7 @@ WEIGHT_RECOMPUTE = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -4762,7 +4762,7 @@ WEIGHT_RECOMPUTE = APIOperation( + ShapeID("io.superposition#WebhookFailed"): WebhookFailed, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -207,8 +206,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -4886,7 +4886,7 @@ CREATE_DEFAULT_CONFIG = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -4996,7 +4996,7 @@ CREATE_DEFAULT_CONFIG = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -216,8 +215,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -5114,7 +5114,7 @@ CREATE_DIMENSION = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -5225,7 +5225,7 @@ CREATE_DIMENSION = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -225,7 +224,16 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -5381,7 +5381,7 @@ CREATE_EXPERIMENT = APIOperation( +@@ -5493,7 +5493,7 @@ CREATE_EXPERIMENT = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, + }), + effective_auth_schemes = [ +- ShapeID("smithy.api#httpBasicAuth") ++ ShapeID("smithy.api#httpBasicAuth"), + ShapeID("smithy.api#httpBearerAuth") + ] + ) +@@ -5712,7 +5712,7 @@ CREATE_EXPERIMENT_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -234,7 +242,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -5600,7 +5600,7 @@ CREATE_EXPERIMENT_GROUP = APIOperation( +@@ -5923,7 +5923,7 @@ CREATE_FUNCTION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -243,7 +251,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -5808,7 +5808,7 @@ CREATE_FUNCTION = APIOperation( +@@ -6110,7 +6110,7 @@ CREATE_ORGANISATION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -252,7 +260,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -5995,7 +5995,7 @@ CREATE_ORGANISATION = APIOperation( +@@ -6262,7 +6262,7 @@ CREATE_SECRET = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -261,7 +269,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -6156,7 +6156,7 @@ CREATE_TYPE_TEMPLATES = APIOperation( +@@ -6423,7 +6423,7 @@ CREATE_TYPE_TEMPLATES = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -270,7 +278,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -6303,7 +6303,7 @@ CREATE_VARIABLE = APIOperation( +@@ -6570,7 +6570,7 @@ CREATE_VARIABLE = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -279,7 +287,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -6573,7 +6573,7 @@ CREATE_WEBHOOK = APIOperation( +@@ -6840,7 +6840,7 @@ CREATE_WEBHOOK = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -288,7 +296,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -6836,7 +6836,7 @@ CREATE_WORKSPACE = APIOperation( +@@ -7090,7 +7090,7 @@ CREATE_WORKSPACE = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -297,7 +305,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -6916,7 +6916,7 @@ DELETE_DEFAULT_CONFIG = APIOperation( +@@ -7171,7 +7171,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -306,7 +314,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7070,7 +7070,7 @@ GET_DEFAULT_CONFIG = APIOperation( +@@ -7325,7 +7325,7 @@ GET_DEFAULT_CONFIG = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -315,7 +323,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7307,7 +7307,7 @@ LIST_DEFAULT_CONFIGS = APIOperation( +@@ -7562,7 +7562,7 @@ LIST_DEFAULT_CONFIGS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -324,7 +332,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7514,7 +7514,7 @@ UPDATE_DEFAULT_CONFIG = APIOperation( +@@ -7770,7 +7770,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -333,7 +341,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7594,7 +7594,7 @@ DELETE_DIMENSION = APIOperation( +@@ -7851,7 +7851,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -342,7 +350,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7764,7 +7764,7 @@ DELETE_EXPERIMENT_GROUP = APIOperation( +@@ -8021,7 +8021,7 @@ DELETE_EXPERIMENT_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -351,7 +359,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7844,7 +7844,7 @@ DELETE_FUNCTION = APIOperation( +@@ -8101,7 +8101,7 @@ DELETE_FUNCTION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -360,7 +368,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -7977,7 +7977,7 @@ DELETE_TYPE_TEMPLATES = APIOperation( +@@ -8226,7 +8226,7 @@ DELETE_SECRET = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -369,7 +377,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -8103,7 +8103,7 @@ DELETE_VARIABLE = APIOperation( +@@ -8359,7 +8359,7 @@ DELETE_TYPE_TEMPLATES = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -378,7 +386,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -8183,7 +8183,7 @@ DELETE_WEBHOOK = APIOperation( +@@ -8485,7 +8485,7 @@ DELETE_VARIABLE = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -387,7 +395,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -8355,7 +8355,7 @@ GET_DIMENSION = APIOperation( +@@ -8565,7 +8565,7 @@ DELETE_WEBHOOK = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -396,7 +404,16 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -8606,7 +8606,7 @@ LIST_DIMENSIONS = APIOperation( +@@ -8737,7 +8737,7 @@ GET_DIMENSION = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, + }), + effective_auth_schemes = [ +- ShapeID("smithy.api#httpBasicAuth") ++ ShapeID("smithy.api#httpBasicAuth"), + ShapeID("smithy.api#httpBearerAuth") + ] + ) +@@ -8988,7 +8988,7 @@ LIST_DIMENSIONS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -405,7 +422,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -8831,7 +8831,7 @@ UPDATE_DIMENSION = APIOperation( +@@ -9214,7 +9214,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -414,7 +431,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -9047,7 +9047,7 @@ DISCARD_EXPERIMENT = APIOperation( +@@ -9431,7 +9431,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -423,7 +440,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -9217,7 +9217,7 @@ GET_EXPERIMENT_GROUP = APIOperation( +@@ -9601,7 +9601,7 @@ GET_EXPERIMENT_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -432,7 +449,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -9550,7 +9550,7 @@ LIST_EXPERIMENT_GROUPS = APIOperation( +@@ -9934,7 +9934,7 @@ LIST_EXPERIMENT_GROUPS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -441,7 +458,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -9742,7 +9742,7 @@ REMOVE_MEMBERS_FROM_GROUP = APIOperation( +@@ -10126,7 +10126,7 @@ REMOVE_MEMBERS_FROM_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -450,7 +467,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -9944,7 +9944,7 @@ UPDATE_EXPERIMENT_GROUP = APIOperation( +@@ -10328,7 +10328,7 @@ UPDATE_EXPERIMENT_GROUP = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -459,7 +476,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -10329,7 +10329,7 @@ GET_EXPERIMENT = APIOperation( +@@ -10713,7 +10713,7 @@ GET_EXPERIMENT = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -468,7 +485,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -10517,7 +10517,7 @@ LIST_EXPERIMENT = APIOperation( +@@ -10901,7 +10901,7 @@ LIST_EXPERIMENT = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -477,7 +494,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -10733,7 +10733,7 @@ PAUSE_EXPERIMENT = APIOperation( +@@ -11118,7 +11118,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -486,7 +503,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -10956,7 +10956,7 @@ RAMP_EXPERIMENT = APIOperation( +@@ -11342,7 +11342,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -495,7 +512,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -11172,7 +11172,7 @@ RESUME_EXPERIMENT = APIOperation( +@@ -11559,7 +11559,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -504,7 +521,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -11483,7 +11483,7 @@ UPDATE_OVERRIDES_EXPERIMENT = APIOperation( +@@ -11871,7 +11871,7 @@ ShapeID("io.superposition#WebhookFailed"): WebhookFailed, ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -513,7 +530,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -11650,7 +11650,7 @@ GET_FUNCTION = APIOperation( +@@ -12038,7 +12038,7 @@ GET_FUNCTION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -522,7 +539,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -11918,7 +11918,7 @@ LIST_FUNCTION = APIOperation( +@@ -12306,7 +12306,7 @@ LIST_FUNCTION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -531,7 +548,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -12090,7 +12090,7 @@ PUBLISH = APIOperation( +@@ -12478,7 +12478,7 @@ PUBLISH = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -540,7 +557,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -12394,7 +12394,7 @@ TEST = APIOperation( +@@ -12800,7 +12800,7 @@ TEST = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -549,7 +566,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -12587,7 +12587,7 @@ UPDATE_FUNCTION = APIOperation( +@@ -12993,7 +12993,7 @@ UPDATE_FUNCTION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -558,7 +575,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -12734,7 +12734,7 @@ GET_ORGANISATION = APIOperation( +@@ -13140,7 +13140,7 @@ GET_ORGANISATION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -567,7 +584,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -12867,7 +12867,7 @@ GET_TYPE_TEMPLATE = APIOperation( +@@ -13265,7 +13265,7 @@ GET_SECRET = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -576,8 +593,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13079,7 +13079,7 @@ GET_TYPE_TEMPLATES_LIST = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -13398,7 +13398,7 @@ GET_TYPE_TEMPLATE = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -585,8 +602,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13205,7 +13205,7 @@ GET_VARIABLE = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -13610,7 +13610,7 @@ GET_TYPE_TEMPLATES_LIST = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -594,7 +611,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13383,7 +13383,7 @@ GET_WEBHOOK = APIOperation( +@@ -13736,7 +13736,7 @@ GET_VARIABLE = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -603,7 +620,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13561,7 +13561,7 @@ GET_WEBHOOK_BY_EVENT = APIOperation( +@@ -13914,7 +13914,7 @@ GET_WEBHOOK = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -612,7 +629,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13746,7 +13746,7 @@ GET_WORKSPACE = APIOperation( +@@ -14092,7 +14092,7 @@ GET_WEBHOOK_BY_EVENT = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -621,8 +638,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -13972,7 +13972,7 @@ LIST_ORGANISATION = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -14271,7 +14271,7 @@ GET_WORKSPACE = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -630,7 +647,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14218,7 +14218,7 @@ LIST_VARIABLES = APIOperation( +@@ -14497,7 +14497,7 @@ LIST_ORGANISATION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -639,7 +656,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14475,7 +14475,7 @@ LIST_WEBHOOK = APIOperation( +@@ -14741,7 +14741,7 @@ LIST_SECRETS = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -648,7 +665,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14739,7 +14739,7 @@ LIST_WORKSPACE = APIOperation( +@@ -14987,7 +14987,7 @@ LIST_VARIABLES = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -657,17 +674,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14924,7 +14924,7 @@ MIGRATE_WORKSPACE_SCHEMA = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, - }), - effective_auth_schemes = [ -- ShapeID("smithy.api#httpBasicAuth") -+ ShapeID("smithy.api#httpBasicAuth"), - ShapeID("smithy.api#httpBearerAuth") - ] - ) -@@ -15111,7 +15111,7 @@ UPDATE_ORGANISATION = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -15244,7 +15244,7 @@ LIST_WEBHOOK = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -675,8 +683,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15270,7 +15270,7 @@ UPDATE_TYPE_TEMPLATES = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -15502,7 +15502,7 @@ LIST_WORKSPACE = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -684,8 +692,8 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15415,7 +15415,7 @@ UPDATE_VARIABLE = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -15579,7 +15579,7 @@ ROTATE_MASTER_ENCRYPTION_KEY = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -693,7 +701,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15654,7 +15654,7 @@ UPDATE_WEBHOOK = APIOperation( +@@ -15758,7 +15758,7 @@ MIGRATE_WORKSPACE_SCHEMA = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -702,7 +710,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15906,7 +15906,7 @@ UPDATE_WORKSPACE = APIOperation( +@@ -15945,7 +15945,7 @@ UPDATE_ORGANISATION = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -711,11 +719,7 @@ index 6434d0c3..38e37e90 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -diff --git a/clients/python/sdk/superposition_sdk/models.py b/clients/python/sdk/superposition_sdk/models.py -index 294231fb..9d836018 100644 ---- a/clients/python/sdk/superposition_sdk/models.py -+++ b/clients/python/sdk/superposition_sdk/models.py -@@ -7025,7 +7025,7 @@ CREATE_WORKSPACE = APIOperation( +@@ -16030,7 +16030,7 @@ ROTATE_WORKSPACE_ENCRYPTION_KEY = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -724,7 +728,7 @@ index 294231fb..9d836018 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14018,7 +14018,7 @@ GET_WEBHOOK_BY_EVENT = APIOperation( +@@ -16181,7 +16181,7 @@ UPDATE_SECRET = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -733,7 +737,7 @@ index 294231fb..9d836018 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -14197,7 +14197,7 @@ GET_WORKSPACE = APIOperation( +@@ -16340,7 +16340,7 @@ UPDATE_TYPE_TEMPLATES = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -742,16 +746,7 @@ index 294231fb..9d836018 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15428,7 +15428,7 @@ LIST_WORKSPACE = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, - }), - effective_auth_schemes = [ -- ShapeID("smithy.api#httpBasicAuth") -+ ShapeID("smithy.api#httpBasicAuth"), - ShapeID("smithy.api#httpBearerAuth") - ] - ) -@@ -16734,7 +16734,7 @@ UPDATE_WORKSPACE = APIOperation( +@@ -16485,7 +16485,7 @@ UPDATE_VARIABLE = APIOperation( ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ @@ -760,12 +755,8 @@ index 294231fb..9d836018 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -diff --git a/clients/python/sdk/superposition_sdk/models.py b/clients/python/sdk/superposition_sdk/models.py -index 2eb77129..ea06e2c3 100644 ---- a/clients/python/sdk/superposition_sdk/models.py -+++ b/clients/python/sdk/superposition_sdk/models.py -@@ -15263,7 +15263,7 @@ LIST_WEBHOOK = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -16724,7 +16724,7 @@ UPDATE_WEBHOOK = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth") @@ -773,8 +764,8 @@ index 2eb77129..ea06e2c3 100644 ShapeID("smithy.api#httpBearerAuth") ] ) -@@ -15614,7 +15614,7 @@ ROTATE_MASTER_KEY = APIOperation( - ShapeID("io.superposition#InternalServerError"): InternalServerError, +@@ -16970,7 +16970,7 @@ UPDATE_WORKSPACE = APIOperation( + ShapeID("io.superposition#InternalServerError"): InternalServerError, }), effective_auth_schemes = [ - ShapeID("smithy.api#httpBasicAuth")